KDE/kdelibs/cmake/modules

Alexander Neundorf neundorf at kde.org
Sat Aug 9 16:06:55 CEST 2008


SVN commit 844368 by neundorf:

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 at kde.org



 M  +7 -2      FindKDE4Internal.cmake  


--- trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake #844367:844368
@@ -514,8 +514,13 @@
 # # 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.


More information about the Kde-windows mailing list