diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-07 21:03:10 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-07 21:03:10 +0000 |
commit | f323a8b8799f0cdce1bb97384009b125ec7631a5 (patch) | |
tree | 5d7fc8845909d629947349fa0a1e40ee91c8c930 /modules | |
parent | a101b5fdebe646d8a68bc365ad25d6e60060b15f (diff) | |
download | extra-cmake-modules-f323a8b8799f0cdce1bb97384009b125ec7631a5.tar.gz extra-cmake-modules-f323a8b8799f0cdce1bb97384009b125ec7631a5.tar.bz2 |
-print a warning for users which have not yet updated to cmake 2.6.2
Alex
svn path=/trunk/KDE/kdelibs/; revision=881351
Diffstat (limited to 'modules')
-rw-r--r-- | modules/KDE4Macros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index a17c1d4c..ae1d5912 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -1154,6 +1154,7 @@ endmacro(_KDE4_EXPORT_LIBRARY_DEPENDENCIES) # "overloaded" by a macro, the original command gets a "_" prepended, so it # is still available. if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" MATCHES "^2\\.6\\.[01]$") + message(STATUS "Your are still using CMake ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}, please update to CMake 2.6.2.\nIt will be required next monday.") macro(TARGET_LINK_LIBRARIES) if(NOT "${ARGV1}" STREQUAL "LINK_INTERFACE_LIBRARIES") _target_link_libraries(${ARGN}) @@ -1178,7 +1179,6 @@ macro (KDE4_SET_CUSTOM_TARGET_PROPERTY) message(FATAL_ERROR "KDE4_SET_CUSTOM_TARGET_PROPERTY() is deprecated, just use a simple variable instead") endmacro (KDE4_SET_CUSTOM_TARGET_PROPERTY) - macro (KDE4_GET_CUSTOM_TARGET_PROPERTY) message(FATAL_ERROR "KDE4_GET_CUSTOM_TARGET_PROPERTY() is deprecated, just use a simple variable instead") endmacro (KDE4_GET_CUSTOM_TARGET_PROPERTY) |