aboutsummaryrefslogtreecommitdiff
path: root/modules/KDE4Macros.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-12-14 23:11:35 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-12-14 23:11:35 +0000
commit728a5895ce2bd160b3a8748ee15711d942d62ebb (patch)
treef4783c340a4f48b09d9d6ff366d55b599e2a4ebf /modules/KDE4Macros.cmake
parentd6452721669defdbf81eb43cdab8e08b4ef43ed7 (diff)
downloadextra-cmake-modules-728a5895ce2bd160b3a8748ee15711d942d62ebb.tar.gz
extra-cmake-modules-728a5895ce2bd160b3a8748ee15711d942d62ebb.tar.bz2
-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
Diffstat (limited to 'modules/KDE4Macros.cmake')
-rw-r--r--modules/KDE4Macros.cmake8
1 files changed, 0 insertions, 8 deletions
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)