]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Add shared library versioning
authorMichal Malý <madcatxster@devoid-pointer.net>
Tue, 10 Mar 2015 22:46:16 +0000 (23:46 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Tue, 10 Mar 2015 22:46:16 +0000 (23:46 +0100)
CMakeLists.txt

index c1595de8190727e959d467a62feb4a1683734b72..c503d17f1682aad877525ce3880f0d38f84bb3a5 100644 (file)
@@ -16,6 +16,9 @@ set(libHPCS_SRCS
     libhpcs.c)
 
 add_library(HPCS SHARED ${libHPCS_SRCS})
+set_target_properties(HPCS
+                     PROPERTIES VERSION 1.0
+                     SOVERSION 1.0)
 
 if (${BuildTestTool})
   set(libHPCS_test_SRCS