diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-11-29 22:16:58 +0100 |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-11-29 22:16:58 +0100 |
commit | 430332e3f724a5550bd7f584ca23acfb98e596b4 (patch) | |
tree | 4faa021a2f791b064672c0ef80ec9700921f03af /modules | |
parent | 151819b28c4e1964b9db5b6c23666b526b8e0911 (diff) | |
parent | 4c2ffd7066970560f49d8d28c0035c114f333b7c (diff) | |
download | extra-cmake-modules-430332e3f724a5550bd7f584ca23acfb98e596b4.tar.gz extra-cmake-modules-430332e3f724a5550bd7f584ca23acfb98e596b4.tar.bz2 |
Merge branch 'master' of git://anongit.kde.org/extra-cmake-modules
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ECMQtFramework.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake index 3d9eefa9..a87246d2 100644 --- a/modules/ECMQtFramework.cmake +++ b/modules/ECMQtFramework.cmake @@ -80,6 +80,10 @@ # the preprocessor. The version file must be installed by the user. # # 15) The FeatureSummary module is included. +# +# 16) The CMAKE_LINK_INTERFACE_LIBRARIES variable is set to empty. This means that the library targets created +# will have an empty link interface unless the LINK_INTERFACE_LIBRARIES or the LINK_PUBLIC keyword +# to target_link_libraries are used. # We need to make sure this file is included before Qt found. # Otherwise QT_USE_IMPORTED_TARGETS would have no effect. @@ -94,6 +98,9 @@ include(GenerateExportHeader) add_compiler_export_flags() +# This will only have an effect in CMake 2.8.7 +set(CMAKE_LINK_INTERFACE_LIBRARIES "") + # create coverage build type set(CMAKE_CONFIGURATION_TYPES ${CMAKE_CONFIGURATION_TYPES} Coverage) if(${CMAKE_VERSION} VERSION_GREATER 2.8.2) |