summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <luigi.toscano@tiscali.it>2016-12-12 00:51:42 (GMT)
committerLuigi Toscano <luigi.toscano@tiscali.it>2016-12-12 00:51:42 (GMT)
commit705b0e737d257f18fe191fda6978d204d79a4f8d (patch)
treeaad675c671fcc1c58fec915cdcc644a7d03dd43b
parentbb30765a44df9ada47953477533b0a07ffabfc0d (diff)
Do not follow KDE Application for the library versionv16.12.2v16.12.1v16.12.0
5.0.0 is a more proper version number for a library. Starting with 16.08 (which actually should be 16.12) makes it impossible to come back to a lower version later. CCMAIL: xiangzhai83@gmail.com
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d39b09..6aa9020 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,11 +23,11 @@ set(REQUIRED_QT_VERSION 5.4.0)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS Network Widgets)
find_package(KF5 ${KF5_DEP_VERSION} REQUIRED COMPONENTS Config DocTools Codecs I18n KIO WidgetsAddons)
-ecm_setup_version(${PROJECT_VERSION}
+ecm_setup_version("5.0.0"
VARIABLE_PREFIX KCDDB
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kcddb_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5CddbConfigVersion.cmake"
- SOVERSION 16
+ SOVERSION 5
)
find_package(MusicBrainz5)