[uchardet: 25/29] cmake: fix library filename and SONAME



commit d0e7ddd8aba0a5aaf8dbd013d298e84ffd367177
Author: Ilya Tumaykin <itumaykin gmail com>
Date:   Mon Mar 21 21:14:49 2016 +0300

    cmake: fix library filename and SONAME
    
    Make library filename respect the current uchardet version and
    make library SONAME respect the current major version.

 src/CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1678a1e..64b912e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -82,9 +82,9 @@ set_target_properties(
                OUTPUT_NAME
                        ${PACKAGE_NAME}
                VERSION
-                       0.0.0
+                       ${UCHARDET_VERSION}
                SOVERSION
-                       0
+                       ${UCHARDET_VERSION_MAJOR}
 )
 
 if (UCHARDET_STATIC_LIBRARY)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]