]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Also compile the expand_instantiations macro with our build flags 1793/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 26 Oct 2015 22:59:15 +0000 (17:59 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 26 Oct 2015 22:59:15 +0000 (17:59 -0500)
It turns out that the Windows platform needs this.

Closes #1792

cmake/scripts/CMakeLists.txt

index 7800ac97f0ef71a9619cb28bcbc167185e63868c..ad2cf0e876b30a9c0ed0c0c89e55431c8de2d118 100644 (file)
 
 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}
   )

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.