aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDECMakeSettings.cmake
diff options
context:
space:
mode:
authorAlex Merry <kde@randomguy3.me.uk>2014-01-07 20:54:27 +0000
committerAlex Merry <kde@randomguy3.me.uk>2014-01-07 23:00:22 +0000
commiteb7cdf3cbdf11f22a33989b5dc2c09da31a07858 (patch)
tree88f712f27daff422a30016169dd39e4ee27a5be9 /kde-modules/KDECMakeSettings.cmake
parentbe60166e3048cfc28a519e781fb116c98118555b (diff)
downloadextra-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/KDECMakeSettings.cmake')
-rw-r--r--kde-modules/KDECMakeSettings.cmake12
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")