summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Koller <[email protected]>2015-08-01 11:16:19 +0200
committerMartin Koller <[email protected]>2015-08-01 11:16:19 +0200
commit900784190569301862cbe562934ac97a51b28b31 (patch)
tree70eb194a156de70dc2f70b25acec471b9812427b
parenteab851464d57429c2e2085a461302e02b2088452 (diff)
Fix library version number not using literal SOVERSION
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be699f1..3614bfd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -559,8 +559,10 @@ set(kolourpaint_lgpl_SRCS
kde4_add_library(kolourpaint_lgpl SHARED ${kolourpaint_lgpl_SRCS})
+set(kolourpaint_lgpl_version 5)
+
target_link_libraries(kolourpaint_lgpl KF5::KDELibs4Support)
-set_target_properties(kolourpaint_lgpl PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} DEFINE_SYMBOL MAKE_KOLOURPAINT4_LGPL_LIB )
+set_target_properties(kolourpaint_lgpl PROPERTIES VERSION ${kolourpaint_lgpl_version} DEFINE_SYMBOL MAKE_KOLOURPAINT4_LGPL_LIB)
install(TARGETS kolourpaint_lgpl ${INSTALL_TARGETS_DEFAULT_ARGS} )