From 648a847d1d40efe245ba8ca00f3dfc121053c79d Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sat, 9 Aug 2008 14:06:54 +0000 Subject: disable the reduced link interface for now for windows, since there people have problems since they are actually using the "debug" and "optimized" keywords for libraries, which leads to problems with cmake 2.6.0 and 2.6.1 when linking (it tries to link against -ldebug or -loptimized) Alex CCMAIL: kde-windows@kde.org svn path=/trunk/KDE/kdelibs/; revision=844368 --- modules/FindKDE4Internal.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 6859f7dc..d99c131d 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -514,8 +514,13 @@ option(KDE4_ENABLE_HTMLHANDBOOK "Create targets htmlhandbook for creating the h # # change from "LINK_INTERFACE_LIBRARIES" to "DISABLED_LINK_INTERFACE_LIBRARIES", # # which is a different (non-existing) target property, and so setting that property # # won't have an effect -# set(KDE4_DISABLE_PROPERTY_ "DISABLED_") -# + +# disable this for now for Windows, since there is an issue with the use of "debug" and +# "optimized" in the LINK_INTERFACE_LIBRARIES target property, Alex +if (WIN32) + set(KDE4_DISABLE_PROPERTY_ "DISABLED_") +endif(WIN32) + # option(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT "Enable the experimental reduced library exports" FALSE) # # If enabled, make it empty, so the property will keep it's actual name. # # and the LINK_INTERFACE_LIBRARIES property will be set. -- cgit v1.2.1