diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-08-09 14:06:54 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-08-09 14:06:54 +0000 |
commit | 648a847d1d40efe245ba8ca00f3dfc121053c79d (patch) | |
tree | 62bdc56946bceda14bb0327235293c0386a84e22 /modules | |
parent | 2186f87998b7a1d8f1d87809eb8fb758f0843507 (diff) | |
download | extra-cmake-modules-648a847d1d40efe245ba8ca00f3dfc121053c79d.tar.gz extra-cmake-modules-648a847d1d40efe245ba8ca00f3dfc121053c79d.tar.bz2 |
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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindKDE4Internal.cmake | 9 |
1 files changed, 7 insertions, 2 deletions
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. |