diff options
author | Alex Merry <kde@randomguy3.me.uk> | 2014-01-07 20:54:27 +0000 |
---|---|---|
committer | Alex Merry <kde@randomguy3.me.uk> | 2014-01-07 23:00:22 +0000 |
commit | eb7cdf3cbdf11f22a33989b5dc2c09da31a07858 (patch) | |
tree | 88f712f27daff422a30016169dd39e4ee27a5be9 /kde-modules | |
parent | be60166e3048cfc28a519e781fb116c98118555b (diff) | |
download | extra-cmake-modules-eb7cdf3cbdf11f22a33989b5dc2c09da31a07858.tar.gz extra-cmake-modules-eb7cdf3cbdf11f22a33989b5dc2c09da31a07858.tar.bz2 |
Do not set CMP0022
We do not want to suppress any warnings about LINK_INTERFACE_LIBRARIES
vs INTERFACE_LINK_LIBRARIES; everything should be using the latter,
since we depend on CMake 2.8.12 everywhere.
REVIEW: 114903
Diffstat (limited to 'kde-modules')
-rw-r--r-- | kde-modules/KDECMakeSettings.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake index 63cc9011..24593d4a 100644 --- a/kde-modules/KDECMakeSettings.cmake +++ b/kde-modules/KDECMakeSettings.cmake @@ -86,18 +86,6 @@ if(NOT KDE_SKIP_BUILD_SETTINGS) # Since CMake 2.8.11 set(CMAKE_LINK_DEPENDS_NO_SHARED ON) - # 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. - # Since CMake 2.8.7 -# set(CMAKE_LINK_INTERFACE_LIBRARIES "") - # TODO: Remove this and the above line. - cmake_policy(SET CMP0022 OLD) - # Default to shared libs for KDE, if no type is explicitely given to add_library(): set(BUILD_SHARED_LIBS TRUE CACHE BOOL "If enabled, shared libs will be built by default, otherwise static libs") |