From: Matthias Maier Date: Mon, 26 Oct 2015 22:59:15 +0000 (-0500) Subject: Bugfix: Also compile the expand_instantiations macro with our build flags X-Git-Tag: v8.4.0-rc2~281^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1793%2Fhead;p=dealii.git Bugfix: Also compile the expand_instantiations macro with our build flags It turns out that the Windows platform needs this. Closes #1792 --- 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} )