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/FindKDE4Internal.cmake | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'modules/FindKDE4Internal.cmake') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 13752006..7a7a02a5 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -603,18 +603,23 @@ else(${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH} VERSIO endif(${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH} VERSION_GREATER 2.6.2) -# This is for the reduced link interface. -# In kdelibs it is already alwaysenabled. -# In all other modules provide the switch _KDE4_USE_REDUCED_LINK_INTERFACE to turn it on. -if(kdelibs_SOURCE_DIR) - set(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT TRUE) -else(kdelibs_SOURCE_DIR) - option(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT "Enable the reduced link interface" OFF) -endif(kdelibs_SOURCE_DIR) - -# Setting the target property LINK_INTERFACE_LIBRARIES directly shouldn't be done, -# instead TARGET_LINK_LIBRARIES(... LINK_INTERFACE_LIBRARIES ... ) must be used. -set(KDE4_DISABLE_PROPERTY_ "DISABLED_") +# This is obsolete now. I just keep it here so in case somebody stumbles upon it somewhere +# he can still find a hint where it came from and what it was good for. +# +# What to do in that case ? Just remove it. Alex +# +# # This is for the reduced link interface. +# # In kdelibs it is already alwaysenabled. +# # In all other modules provide the switch _KDE4_USE_REDUCED_LINK_INTERFACE to turn it on. +# if(kdelibs_SOURCE_DIR) +# set(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT TRUE) +# else(kdelibs_SOURCE_DIR) +# option(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT "Enable the reduced link interface" OFF) +# endif(kdelibs_SOURCE_DIR) +# +# # Setting the target property LINK_INTERFACE_LIBRARIES directly shouldn't be done, +# # instead TARGET_LINK_LIBRARIES(... LINK_INTERFACE_LIBRARIES ... ) must be used. +# set(KDE4_DISABLE_PROPERTY_ "DISABLED_") -- cgit v1.2.1