]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Also propagate compiler and linker flags to the boost check 6091/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 22 Mar 2018 18:26:24 +0000 (13:26 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 22 Mar 2018 18:26:24 +0000 (13:26 -0500)
cmake/configure/configure_boost.cmake

index cd18fe693b82bcd26aa1d2e4c00984bcc1747f67..cdbdaecd1b516fb4e1b9f9b211bebddfd4b1acad 100644 (file)
@@ -148,6 +148,9 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var)
           COMMAND ${CMAKE_COMMAND}
             -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
             -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
+            "-DCMAKE_CXX_FLAGS=${DEAL_II_CXX_FLAGS}"
+            "-DCMAKE_EXE_LINKER_FLAGS=${DEAL_II_LINKER_FLAGS}"
+            "-DCMAKE_SHARED_LINKER_FLAGS=${DEAL_II_LINKER_FLAGS}"
             "-DBOOST_INCLUDE_DIRS=${BOOST_INCLUDE_DIRS}"
             "-DBOOST_LIBRARIES=${BOOST_LIBRARIES}"
             ${CMAKE_CURRENT_SOURCE_DIR}/cmake/configure/TestBoostBug

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.