diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-05 08:45:34 (GMT) |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-05 08:47:00 (GMT) |
commit | 96e150e7df2bd76e3507f64cea61e6d0f72c93ec (patch) | |
tree | 68f572e064b762950dd2cd106125335ce76d1638 /contrib/cmake_unofficial | |
parent | 67abd75e65311d608abae30fa296cab8715b17f4 (diff) | |
download | lz4-96e150e7df2bd76e3507f64cea61e6d0f72c93ec.zip lz4-96e150e7df2bd76e3507f64cea61e6d0f72c93ec.tar.gz lz4-96e150e7df2bd76e3507f64cea61e6d0f72c93ec.tar.bz2 |
[cmake] Fix substituting version in liblz4.pc
Bug: https://bugs.gentoo.org/608144
Diffstat (limited to 'contrib/cmake_unofficial')
-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) |