From fc26bf2298c5b8c0039aca7b61a2c19add4c5f41 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 26 Oct 2015 17:59:15 -0500 Subject: [PATCH] Bugfix: Also compile the expand_instantiations macro with our build flags It turns out that the Windows platform needs this. Closes #1792 --- cmake/scripts/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/scripts/CMakeLists.txt b/cmake/scripts/CMakeLists.txt index 7800ac97f0..ad2cf0e876 100644 --- a/cmake/scripts/CMakeLists.txt +++ b/cmake/scripts/CMakeLists.txt @@ -15,6 +15,10 @@ ADD_EXECUTABLE(expand_instantiations_exe expand_instantiations.cc) SET_TARGET_PROPERTIES(expand_instantiations_exe PROPERTIES + LINK_FLAGS "${DEAL_II_LINKER_FLAGS}" + LINKER_LANGUAGE "CXX" + COMPILE_DEFINITIONS "${DEAL_II_DEFINITIONS}" + COMPILE_FLAGS "${DEAL_II_CXX_FLAGS}" OUTPUT_NAME expand_instantiations RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${DEAL_II_EXECUTABLE_RELDIR} ) -- 2.39.5