Hi all.
please, as stand alone libraries, can you make versioned the GKlib dynamic libraries?
This is simple patch that i'm using for compiling GKlib in Fedora, where GKLIB_VERSION_MAJOR and GKLIB_VERSION are set respectively 0 and 0.0 :
--- a/CMakeLists.orig.txt 2013-03-11 20:50:14.000000000 +0100
+++ b/CMakeLists.txt 2013-03-17 19:53:44.220827579 +0100
@@ -17,6 +17,7 @@
endif(MSVC)
add_library(GKlib ${GKlib_sources} ${win32_sources})
+set_target_properties(GKlib PROPERTIES LIBRARY_OUTPUT_NAME GKlib SOVERSION ${GKLIB_VERSION_MAJOR} VERSION ${GKLIB_VERSION})
if(UNIX)
target_link_libraries(GKlib m)
@@ -26,6 +26,6 @@
add_subdirectory("test")
install(TARGETS GKlib
- ARCHIVE DESTINATION lib/${LINSTALL_PATH}
- LIBRARY DESTINATION lib/${LINSTALL_PATH})
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY DESTINATION lib${LIB_SUFFIX})
install(FILES ${GKlib_includes} DESTINATION include/${HINSTALL_PATH})
Regards.
Hi all.
please, as stand alone libraries, can you make versioned the
GKlibdynamic libraries?This is simple patch that i'm using for compiling
GKlibin Fedora, whereGKLIB_VERSION_MAJORandGKLIB_VERSIONare set respectively0and0.0:Regards.