aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-07-20 22:16:40 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-07-20 22:16:40 +0000
commita3a1c93e8ebfea28aff2aa3a15c8919802e7df56 (patch)
tree69e9971a20b5c8fa2c44cafd180f53a9c1549183
parent5f61200948e3f19a0eab2c9678ad76c130ec6df8 (diff)
downloadextra-cmake-modules-a3a1c93e8ebfea28aff2aa3a15c8919802e7df56.tar.gz
extra-cmake-modules-a3a1c93e8ebfea28aff2aa3a15c8919802e7df56.tar.bz2
-prefix kde4_target_link_interface_libraries() with an "_", to make clear this is only a temporary macro which will be gone again very soon
Alex CCMAIL: mueller@kde.org svn path=/branches/KDE/4.1/kdelibs/; revision=835659
-rw-r--r--modules/KDE4Macros.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 4374c6fe..c30973da 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -1116,11 +1116,15 @@ macro(_KDE4_EXPORT_LIBRARY_DEPENDENCIES _append_or_write _filename)
endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX)# AND NOT APPLE)
endmacro(_KDE4_EXPORT_LIBRARY_DEPENDENCIES)
-macro (KDE4_TARGET_LINK_INTERFACE_LIBRARIES _target _interface_libs)
+macro (_KDE4_TARGET_LINK_INTERFACE_LIBRARIES _target _interface_libs)
if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX )# AND NOT APPLE)
set_target_properties("${_target}" PROPERTIES LINK_INTERFACE_LIBRARIES "${_interface_libs}")
endif(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX)# AND NOT APPLE)
-endmacro (KDE4_TARGET_LINK_INTERFACE_LIBRARIES)
+endmacro (_KDE4_TARGET_LINK_INTERFACE_LIBRARIES)
+
+macro (KDE4_TARGET_LINK_INTERFACE_LIBRARIES _target _interface_libs)
+ message(FATAL_ERROR "KDE4_TARGET_LINK_INTERFACE_LIBRARIES() has been renamed to _KDE4_TARGET_LINK_INTERFACE_LIBRARIES(), so use that instead")
+endmacro (KDE4_TARGET_LINK_INTERFACE_LIBRARIES _target _interface_libs)
macro (KDE4_INSTALL_HANDBOOK _lang)
message(STATUS "KDE4_INSTALL_HANDBOOK() is deprecated. Remove it please. Now all is done in KDE4_CREATE_HANDBOOK.")