diff options
author | Dirk Mueller <mueller@kde.org> | 2008-08-24 19:12:40 +0000 |
---|---|---|
committer | Dirk Mueller <mueller@kde.org> | 2008-08-24 19:12:40 +0000 |
commit | 315b8d02548d83b37ce6f910e51aea8df2ef758f (patch) | |
tree | 3960646e4b72579e9d61ad1a7a9950ef2b4278e5 /modules/KDE4Macros.cmake | |
parent | 9beb25385bf8600c71db7afd793890a45ac11fa7 (diff) | |
download | extra-cmake-modules-315b8d02548d83b37ce6f910e51aea8df2ef758f.tar.gz extra-cmake-modules-315b8d02548d83b37ce6f910e51aea8df2ef758f.tar.bz2 |
patch from Alex:
- reduce link dependencies even further
Further comment fixes.
svn path=/trunk/KDE/kdelibs/; revision=851860
Diffstat (limited to 'modules/KDE4Macros.cmake')
-rw-r--r-- | modules/KDE4Macros.cmake | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 7c57e6a4..c99a4960 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -880,14 +880,14 @@ macro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) set(_symbol "MAKE_${_symbol}_LIB") set_target_properties(${_target_NAME} PROPERTIES DEFINE_SYMBOL ${_symbol}) - # if that option is enabled, by default don't add any linked libraries to the "exported" - # link interfaces, so that executables linking against this library won't get additional - # indirect dependencies. This makes work easier for packagers and should make application - # startup somewhat faster, if I understood Dirk correctly. + # by default don't add any linked libraries to the "exported" + # link interfaces, so that executables linking against this library + # 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. if(NOT "${_add_lib_param}" STREQUAL "STATIC") - if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX )# AND NOT APPLE) - set_target_properties(${_target_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "" ) - endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX)# AND NOT APPLE) + set_target_properties(${_target_NAME} PROPERTIES ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES "" ) endif(NOT "${_add_lib_param}" STREQUAL "STATIC") endmacro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) |