From d0e7ddd8aba0a5aaf8dbd013d298e84ffd367177 Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Mon, 21 Mar 2016 21:14:49 +0300 Subject: [PATCH] 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 file 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)