From 8ee05afd85b471bea58739393b1cfc9367837a4e Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 19 Mar 2013 22:48:32 +0100 Subject: 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. --- kde-modules/KDECMakeSettings.cmake | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.1