diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-24 15:59:32 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-24 15:59:32 +0100 |
commit | 0efcbe38c419bc409cb8aa7925a4d4e738875ef5 (patch) | |
tree | 189f34de64c782e4e3b43934e2b494afb145b8fb /CMakeLists.txt | |
parent | 9e937c1d987d407d974c9a2840a9b0581e43dcd0 (diff) | |
download | kube-0efcbe38c419bc409cb8aa7925a4d4e738875ef5.tar.gz kube-0efcbe38c419bc409cb8aa7925a4d4e738875ef5.zip |
Set a version string
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cbde180..25dd4242 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -22,10 +22,16 @@ include(KDECompilerSettings) | |||
22 | #Avoid building appstreamtest | 22 | #Avoid building appstreamtest |
23 | set(KDE_SKIP_TEST_SETTINGS true) | 23 | set(KDE_SKIP_TEST_SETTINGS true) |
24 | include(KDECMakeSettings NO_POLICY_SCOPE) | 24 | include(KDECMakeSettings NO_POLICY_SCOPE) |
25 | include(ECMSetupVersion) | ||
26 | |||
27 | ecm_setup_version(PROJECT | ||
28 | SOVERSION kube_VERSION_MAJOR | ||
29 | VERSION_HEADER kube_version.h | ||
30 | ) | ||
25 | 31 | ||
26 | enable_testing() | 32 | enable_testing() |
27 | 33 | ||
28 | include_directories(.) | 34 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
29 | add_subdirectory(framework) | 35 | add_subdirectory(framework) |
30 | add_subdirectory(components) | 36 | add_subdirectory(components) |
31 | add_subdirectory(icons) | 37 | add_subdirectory(icons) |