From: maier Date: Mon, 11 Mar 2013 14:03:54 +0000 (+0000) Subject: CMake: Bugfix, deal.II internal includes shall always take precedence X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0977aa5d9a0f94677d1bb9f7f2311bfd75683e28;p=dealii-svn.git CMake: Bugfix, deal.II internal includes shall always take precedence git-svn-id: https://svn.dealii.org/trunk@28851 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/scripts/CMakeLists.txt b/deal.II/cmake/scripts/CMakeLists.txt index 129e3b6342..b27b6cfd04 100644 --- a/deal.II/cmake/scripts/CMakeLists.txt +++ b/deal.II/cmake/scripts/CMakeLists.txt @@ -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/ ) diff --git a/deal.II/source/CMakeLists.txt b/deal.II/source/CMakeLists.txt index 5cf01b03de..d1961a542a 100644 --- a/deal.II/source/CMakeLists.txt +++ b/deal.II/source/CMakeLists.txt @@ -17,6 +17,7 @@ # INCLUDE_DIRECTORIES( + BEFORE # Ensure deal.II include directories come first ${CMAKE_BINARY_DIR}/include/ ${CMAKE_SOURCE_DIR}/include/ )