From 67e3e2a04e3c29f72feae38afc5b5a1c54760968 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 15 Dec 2008 22:19:47 +0000 Subject: -unconditionally enable the reduced link interface I checked that all modules (except extragear, review, playground, kwebdev) link on my machine, which means it can still break on other configurations. Alex CCMAIL: kde-buildsystem@kde.org CCMAIL: mueller@kde.org CCMAIL: Sune@vuorela.dk CCMAIL: modestas@vainius.eu svn path=/trunk/KDE/kdelibs/; revision=897386 --- modules/KDE4Macros.cmake | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/KDE4Macros.cmake') diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index b5300836..b6987111 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -861,17 +861,14 @@ macro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) set(_symbol "MAKE_${_symbol}_LIB") set_target_properties(${_target_NAME} PROPERTIES DEFINE_SYMBOL ${_symbol}) - # by default don't add any linked libraries to the "exported" + # 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") - # only do this inside kdelibs for now (so there is not too much breakage all at once, Alex - if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT) - set_target_properties(${_target_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "" ) - endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT) + set_target_properties(${_target_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "" ) endif(NOT "${_add_lib_param}" STREQUAL "STATIC") endmacro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) -- cgit v1.2.1