mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
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:
parent
dbeee08335
commit
d0e7ddd8ab
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user