[Liblas-commits] hg: add SOVERSION to the CMakeLists files

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Dec 29 18:26:37 EST 2010


details:   http://hg.liblas.orghg/rev/06795bfa172d
changeset: 2657:06795bfa172d
user:      eh3
date:      Wed Dec 29 18:18:44 2010 -0500
description:
add SOVERSION to the CMakeLists files

diffstat:

 CMakeLists.txt     |  2 ++
 src/CMakeLists.txt |  5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r fd5a4a275c66 -r 06795bfa172d CMakeLists.txt
--- a/CMakeLists.txt	Wed Dec 29 12:57:06 2010 -0600
+++ b/CMakeLists.txt	Wed Dec 29 18:18:44 2010 -0500
@@ -13,6 +13,8 @@
 SET(LIBLAS_VERSION_MINOR "6")
 SET(LIBLAS_VERSION_PATCH "0b3")
 set(VERSION "${LIBLAS_VERSION_MAJOR}.${LIBLAS_VERSION_MINOR}.${LIBLAS_VERSION_PATCH}")
+SET(LIBLAS_LIB_SOVERSION "2.0.0")
+SET(LIBLAS_C_LIB_SOVERSION "2.0.0")
 
 if(WIN32)
   # Name of C++ library
diff -r fd5a4a275c66 -r 06795bfa172d src/CMakeLists.txt
--- a/src/CMakeLists.txt	Wed Dec 29 12:57:06 2010 -0600
+++ b/src/CMakeLists.txt	Wed Dec 29 18:18:44 2010 -0500
@@ -233,6 +233,11 @@
   ${LASZIP_LIBRARY}
   ${Boost_LIBRARIES})
 
+set_target_properties(${LIBLAS_LIB_NAME}
+  PROPERTIES SOVERSION "${LIBLAS_LIB_SOVERSION}" )
+set_target_properties(${LIBLAS_C_LIB_NAME}
+  PROPERTIES SOVERSION "${LIBLAS_C_LIB_SOVERSION}" )
+
 if (APPLE)
   set_target_properties(
     ${LIBLAS_C_LIB_NAME}


More information about the Liblas-commits mailing list