aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-03-19 22:48:32 +0100
committerStephen Kelly <steveire@gmail.com>2013-03-19 22:48:32 +0100
commit8ee05afd85b471bea58739393b1cfc9367837a4e (patch)
tree7d82ef4a0c8400d9a791d80be88fa12bb880fa99
parente70cc1dacedb2fbe8aae581625b7ce75e7902f6c (diff)
downloadextra-cmake-modules-8ee05afd85b471bea58739393b1cfc9367837a4e.tar.gz
extra-cmake-modules-8ee05afd85b471bea58739393b1cfc9367837a4e.tar.bz2
Set the CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE variable.
The CMAKE_BUILD_INTERFACE_INCLUDES is about to be renamed to that name. The old name can be removed when we require a newer CMake.
-rw-r--r--kde-modules/KDECMakeSettings.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake
index 16345ebb..a7085e1f 100644
--- a/kde-modules/KDECMakeSettings.cmake
+++ b/kde-modules/KDECMakeSettings.cmake
@@ -82,6 +82,7 @@ if(NOT KDE_SKIP_BUILD_SETTINGS)
# of all targets. Similar to CMAKE_INCLUDE_CURRENT_DIR, but transitive.
# Since CMake 2.8.11
set(CMAKE_BUILD_INTERFACE_INCLUDES ON)
+ set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
# When a shared library changes, but its includes do not, don't relink
# all dependencies. It is not needed.