projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
018ddf7
)
cmake: Fix SOVERSION to match Makefiles
author
Michał Górny
<mgorny@gentoo.org>
Mon, 2 Jan 2017 09:14:35 +0000
(10:14 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Mon, 2 Jan 2017 09:14:35 +0000
(10:14 +0100)
Fix SOVERSION to use only major lz4 version, as Makefiles do. This
ensure that CMake uses 'liblz.so.1' SONAME and creates 'liblz.so.1'
symlink.
contrib/cmake_unofficial/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/contrib/cmake_unofficial/CMakeLists.txt
b/contrib/cmake_unofficial/CMakeLists.txt
index
de070d6
..
2380a0b
100644
(file)
--- a/
contrib/cmake_unofficial/CMakeLists.txt
+++ b/
contrib/cmake_unofficial/CMakeLists.txt
@@
-99,7
+99,7
@@
endif()
# liblz4
add_library(lz4 ${LZ4_SOURCES})
set_target_properties(lz4 PROPERTIES
- SOVERSION "${LZ4_VERSION_
STRING
}"
+ SOVERSION "${LZ4_VERSION_
MAJOR
}"
VERSION "${LZ4_VERSION_STRING}"
POSITION_INDEPENDENT_CODE ${LZ4_POSITION_INDEPENDENT_CODE})