From 68c96bf5f6b6571f22a874ecdcf236bed465dc2a Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 18 Nov 2008 00:37:07 +0000 Subject: reintroduce the cmake option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to enable the reduced link interface in modules != kdelibs obe by one Alex svn path=/trunk/KDE/kdelibs/; revision=885852 --- modules/KDE4Macros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/KDE4Macros.cmake') diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 93120ddb..709748de 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -904,9 +904,9 @@ macro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) # 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(kdelibs_SOURCE_DIR) + if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT) set_target_properties(${_target_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "" ) - endif(kdelibs_SOURCE_DIR) + endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT) endif(NOT "${_add_lib_param}" STREQUAL "STATIC") endmacro (KDE4_ADD_LIBRARY _target_NAME _lib_TYPE) -- cgit v1.2.1