aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDECMakeSettings.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2013-02-08 01:25:30 +0100
committerAlex Neundorf <neundorf@kde.org>2013-02-08 01:25:30 +0100
commitc8b1b0d646162d0323e1be51f3afdcbca9fef5ea (patch)
tree4b2eafc3a34449ba9de7224e6ce54df1e570134d /kde-modules/KDECMakeSettings.cmake
parentaad12f8137972642495cb1a0ac0253f2fffcb9d1 (diff)
downloadextra-cmake-modules-c8b1b0d646162d0323e1be51f3afdcbca9fef5ea.tar.gz
extra-cmake-modules-c8b1b0d646162d0323e1be51f3afdcbca9fef5ea.tar.bz2
-better comment (from plasma-framework)
Alex
Diffstat (limited to 'kde-modules/KDECMakeSettings.cmake')
-rw-r--r--kde-modules/KDECMakeSettings.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake
index 6c345dd0..fbd22754 100644
--- a/kde-modules/KDECMakeSettings.cmake
+++ b/kde-modules/KDECMakeSettings.cmake
@@ -87,7 +87,14 @@ if(NOT KDE_SKIP_BUILD_SETTINGS)
# all dependencies. It is not needed.
set(CMAKE_LINK_DEPENDS_NO_SHARED ON)
- # This will only have an effect in CMake 2.8.7
+ # Since CMake 2.8.7
+ # By default don't add any linked libraries to the "exported"
+ # link interfaces of shared libraries, so that executables linking
+ # against these libraries will not automatically add implicit
+ # dependencies to their link list.
+ #
+ # This reduces inter-package dependencies and makes it easier to remove
+ # dependencies of shared libraries without breaking binary compatibility.
set(CMAKE_LINK_INTERFACE_LIBRARIES "")
# Default to shared libs for KDE, if no type is explicitely given to add_library():