From 728a5895ce2bd160b3a8748ee15711d942d62ebb Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 14 Dec 2008 23:11:35 +0000 Subject: -rename the new kde4_write_basic_cmake_version_file() to macro_write_basic_cmake_version_file(), since it is completely KDE-independent and can potentially be used in any other project remove the old macro, add the new renamed one, add it to the macro library, adjust kdepimlibs/CMakeLists.txt accordingly Alex svn path=/trunk/KDE/kdelibs/; revision=896999 --- modules/KDE4Macros.cmake | 8 -------- 1 file changed, 8 deletions(-) (limited to 'modules/KDE4Macros.cmake') diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 37195e87..f0bd9c8e 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -1134,14 +1134,6 @@ macro (KDE4_ADD_APP_ICON appsources pattern) endmacro (KDE4_ADD_APP_ICON) -function(KDE4_WRITE_BASIC_CMAKE_VERSION_FILE _filename _major _minor _patch) - set(PROJECT_VERSION_MAJOR ${_major}) - set(PROJECT_VERSION_MINOR ${_minor}) - set(PROJECT_VERSION_PATCH ${_patch}) - configure_file(${KDE4_MODULE_DIR}/kde4BasicFindPackageVersion.cmake.in "${_filename}" @ONLY) -endfunction(KDE4_WRITE_BASIC_CMAKE_VERSION_FILE _major _minor _patch) - - macro(_KDE4_EXPORT_LIBRARY_DEPENDENCIES _append_or_write _filename) message(FATAL_ERROR "_KDE4_EXPORT_LIBRARY_DEPENDENCIES() was an internal macro and has been removed again. Just remove the code which calls it, there is no substitute.") endmacro(_KDE4_EXPORT_LIBRARY_DEPENDENCIES) -- cgit v1.2.1