]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Use CMAKE_CXX_FLAGS for tests...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 27 Oct 2013 20:57:29 +0000 (20:57 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 27 Oct 2013 20:57:29 +0000 (20:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@31447 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_add_test.cmake

index fc95f00172d80d1b935f5b44ca2a46e63a362e95..948823bc57ca2bab2f420ee0e443fa0b2770b8aa 100644 (file)
@@ -148,7 +148,7 @@ MACRO(DEAL_II_ADD_TEST _category _test_name _comparison_file)
         SET_TARGET_PROPERTIES(${_target} PROPERTIES
           LINK_FLAGS "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_${_build}}"
           COMPILE_DEFINITIONS "${DEAL_II_USER_DEFINITIONS};${DEAL_II_USER_DEFINITIONS_${_build}}"
-          COMPILE_FLAGS "${DEAL_II_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${_build}}"
+          COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${DEAL_II_CXX_FLAGS_${_build}}"
           LINKER_LANGUAGE "CXX"
           RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_target}"
           )

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.