From 923c12e5bd32ee6981babc6248a9dbc27b39795a Mon Sep 17 00:00:00 2001 From: Markus Blatt <mblatt@dune-project.org> Date: Fri, 10 Aug 2012 10:50:28 +0000 Subject: [PATCH] Added CMAKE_BINARY_DIR as first include path. This prevents mixups. [[Imported from SVN: r6893]] --- cmake/modules/DuneMacros.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/DuneMacros.cmake b/cmake/modules/DuneMacros.cmake index b3bf53d17..82479c80d 100644 --- a/cmake/modules/DuneMacros.cmake +++ b/cmake/modules/DuneMacros.cmake @@ -235,6 +235,7 @@ macro(dune_project) set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -DHAVE_MEMORY=${HAVE_MEMORY}") # set include path and link path for the current project. + include_directories("${CMAKE_BINARY_DIR}") include_directories("${CMAKE_SOURCE_DIR}") link_directories("${CMAKE_SOURCE_DIR}/lib") include_directories("${CMAKE_CURRENT_BINARY_DIR}") -- GitLab