Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2301 Pass C and CXX flags to cpptoml build
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Jun 7, 2024
1 parent 8724619 commit 9f18529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iceoryx_posh/cmake/cpptoml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ file(MAKE_DIRECTORY ${BUILD_DIR})

set(CMAKE_ADDITIONAL_OPTIONS
"-DCMAKE_C_FLAGS_INIT=${CMAKE_C_FLAGS_INIT}"
"-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}"
"-DCMAKE_CXX_FLAGS_INIT=${CMAKE_CXX_FLAGS_INIT}"
"-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}"
"-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}"
"-DCMAKE_C_COMPILER_TARGET=${CMAKE_C_COMPILER_TARGET}"
"-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}"
Expand Down

0 comments on commit 9f18529

Please sign in to comment.