Skip to content

Commit

Permalink
Forward CMake flags to Generator subproject (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Dec 27, 2024
1 parent 90922c6 commit becbfa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit becbfa2

Please sign in to comment.