From d2cf6ff8ff2d7eedec5b02d1d96dffa1325f14cf Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 27 Oct 2013 20:57:29 +0000 Subject: [PATCH] Bugfix: Use CMAKE_CXX_FLAGS for tests... git-svn-id: https://svn.dealii.org/trunk@31447 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/macros/macro_add_test.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ) -- 2.39.5