aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-04-08 12:03:57 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-04-08 12:03:57 +0000
commit1e0c87f062f076101762defc239585597bc7cf36 (patch)
treec818094b319cb8edc5cdb85af2e95e5bc182f553
parentebe2508a1246baf8f550f18caff0852b90d47195 (diff)
downloadextra-cmake-modules-1e0c87f062f076101762defc239585597bc7cf36.tar.gz
extra-cmake-modules-1e0c87f062f076101762defc239585597bc7cf36.tar.bz2
-add GENERIC_LIB_VERSION and GENERIC_LIB_SOVERSION in KDE4Defaults.cmake, so we can easily adjust the version number of our libs for each release
Alex svn path=/trunk/KDE/kdelibs/; revision=527474
-rw-r--r--modules/KDE4Defaults.cmake5
-rw-r--r--modules/MacroLibrary.cmake1
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/KDE4Defaults.cmake b/modules/KDE4Defaults.cmake
index d019258d..8f9e30c1 100644
--- a/modules/KDE4Defaults.cmake
+++ b/modules/KDE4Defaults.cmake
@@ -9,3 +9,8 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Use colors
set(CMAKE_COLOR_MAKEFILE ON)
+# define the generic version of the libraries here
+# this makes it easy to advance it when the next release comes
+set(GENERIC_LIB_VERSION "5.0.0")
+set(GENERIC_LIB_SOVERSION "5")
+
diff --git a/modules/MacroLibrary.cmake b/modules/MacroLibrary.cmake
index fb953d85..8a4e52e4 100644
--- a/modules/MacroLibrary.cmake
+++ b/modules/MacroLibrary.cmake
@@ -5,4 +5,5 @@ INCLUDE(MacroOptionalFindPackage)
INCLUDE(MacroAdditionalCleanFiles)
INCLUDE(MacroAddFileDependencies)
INCLUDE(MacroGetenvWinPath)
+INCLUDE(MacroEnsureOutOfSourceBuild)