diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2017-02-05 17:33:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-05 17:33:27 (GMT) |
commit | 7ed257191b65d7185a5847a21d14aaa7948e2104 (patch) | |
tree | 68f572e064b762950dd2cd106125335ce76d1638 | |
parent | 67abd75e65311d608abae30fa296cab8715b17f4 (diff) | |
parent | 96e150e7df2bd76e3507f64cea61e6d0f72c93ec (diff) | |
download | lz4-7ed257191b65d7185a5847a21d14aaa7948e2104.zip lz4-7ed257191b65d7185a5847a21d14aaa7948e2104.tar.gz lz4-7ed257191b65d7185a5847a21d14aaa7948e2104.tar.bz2 |
Merge pull request #312 from mgorny/cmake-pc-version
[cmake] Fix substituting version in liblz4.pc
-rw-r--r-- | contrib/cmake_unofficial/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cmake_unofficial/CMakeLists.txt b/contrib/cmake_unofficial/CMakeLists.txt index 9a0983d..e59a756 100644 --- a/contrib/cmake_unofficial/CMakeLists.txt +++ b/contrib/cmake_unofficial/CMakeLists.txt @@ -215,4 +215,6 @@ else() set(INCLUDEDIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}") endif() +# for liblz4.pc substitution +set(VERSION ${LZ4_VERSION_STRING}) configure_file(${LZ4_LIB_SOURCE_DIR}/liblz4.pc.in liblz4.pc @ONLY) |