From: maier Date: Sun, 27 Oct 2013 20:57:29 +0000 (+0000) Subject: Bugfix: Use CMAKE_CXX_FLAGS for tests... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2cf6ff8ff2d7eedec5b02d1d96dffa1325f14cf;p=dealii-svn.git Bugfix: Use CMAKE_CXX_FLAGS for tests... git-svn-id: https://svn.dealii.org/trunk@31447 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/macros/macro_add_test.cmake b/deal.II/cmake/macros/macro_add_test.cmake index fc95f00172..948823bc57 100644 --- a/deal.II/cmake/macros/macro_add_test.cmake +++ b/deal.II/cmake/macros/macro_add_test.cmake @@ -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}" )