]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Bugfix, deal.II internal includes shall always take precedence
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Mar 2013 14:03:54 +0000 (14:03 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Mar 2013 14:03:54 +0000 (14:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@28851 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/CMakeLists.txt
deal.II/source/CMakeLists.txt

index 129e3b634207e586019945a81ae872b4824e3854..b27b6cfd046202b6c85b18a622343dc441f8a63a 100644 (file)
@@ -20,6 +20,7 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
   # executables:
   #
   INCLUDE_DIRECTORIES(
+    BEFORE # Ensure deal.II include directories come first
     ${CMAKE_BINARY_DIR}/include/
     ${CMAKE_SOURCE_DIR}/include/
     )
index 5cf01b03de04c5c9c11eaa5c757422ad781964e4..d1961a542ac477c450275722f99e07e209a9bb0f 100644 (file)
@@ -17,6 +17,7 @@
 #
 
 INCLUDE_DIRECTORIES(
+  BEFORE # Ensure deal.II include directories come first
   ${CMAKE_BINARY_DIR}/include/
   ${CMAKE_SOURCE_DIR}/include/
   )

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.