From 0977aa5d9a0f94677d1bb9f7f2311bfd75683e28 Mon Sep 17 00:00:00 2001 From: maier Date: Mon, 11 Mar 2013 14:03:54 +0000 Subject: [PATCH] CMake: Bugfix, deal.II internal includes shall always take precedence git-svn-id: https://svn.dealii.org/trunk@28851 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/scripts/CMakeLists.txt | 1 + deal.II/source/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) 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/ ) -- 2.39.5