diff --git a/CMakeLists.txt b/CMakeLists.txt index b12de2b..5b1d576 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,9 @@ execute_process( -G "${CMAKE_GENERATOR}" -D "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" -D "CMAKE_C_COMPILER=${CMAKE_C_COMPILER}" + -D "CMAKE_C_FLAGS_DEBUG=${CMAKE_C_FLAGS_DEBUG}" -D "CMAKE_Swift_COMPILER=${CMAKE_Swift_COMPILER}" + -D "CMAKE_Swift_FLAGS_DEBUG=${CMAKE_Swift_FLAGS_DEBUG}" -D "CMAKE_EXPORT_COMPILE_COMMANDS=${CMAKE_EXPORT_COMPILE_COMMANDS}" COMMAND_ERROR_IS_FATAL ANY)