[Kst] branches/work/kst/portto4/kst/cmake

Peter Kümmel syntheticpp at gmx.net
Fri Feb 18 23:09:21 CET 2011


SVN commit 1221545 by kuemmel:

add libdir option

 M  +1 -1      CMakeLists.txt  
 M  +1 -1      modules/KstMacros.cmake  


--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1221544:1221545
@@ -115,7 +115,7 @@
 	set(CMAKE_INSTALL_PREFIX INSTALLED CACHE PATH "Kst's default install prefix" FORCE)
 endif()
 
-if(kst_install_libdir)
+if(NOT kst_install_libdir)
 	set(kst_install_libdir lib)
 endif()
 
--- branches/work/kst/portto4/kst/cmake/modules/KstMacros.cmake #1221544:1221545
@@ -65,7 +65,7 @@
 
 macro(kst_set_target_properties)
 	set_property(TARGET ${kst_name} PROPERTY DEBUG_POSTFIX ${kst_debug_postfix})
-	set_target_properties(${kst_name} PROPERTIES VERSION ${kst_version} SOVERSION 2)
+	set_target_properties(${kst_name} PROPERTIES VERSION ${kst_version} SOVERSION ${kst_version_major})
 endmacro()
 
 


More information about the Kst mailing list