cmake: fix library filename and SONAME

Make library filename respect the current uchardet version and
make library SONAME respect the current major version.
This commit is contained in:
Ilya Tumaykin 2016-03-21 21:14:49 +03:00
parent dbeee08335
commit d0e7ddd8ab
No known key found for this signature in database
GPG Key ID: FCF6A8810E836D1C

View File

@ -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)