summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordooxe <maxime.daisy@innersense.fr>2019-07-18 09:25:43 (GMT)
committerdooxe <maxime.daisy@innersense.fr>2019-07-18 09:25:43 (GMT)
commit99d925f997923f24492d2c68d932bc958f98ace9 (patch)
tree8892696c794896c682cbea8e96c04161b8be61e6
parent398e36c756a3067de8e2b35dd380baef040dfe0d (diff)
downloadlz4-99d925f997923f24492d2c68d932bc958f98ace9.zip
lz4-99d925f997923f24492d2c68d932bc958f98ace9.tar.gz
lz4-99d925f997923f24492d2c68d932bc958f98ace9.tar.bz2
Added BUNDLE DESTINATION in CMakeLists.txt so that it works with newer versions of cmake
-rw-r--r--contrib/cmake_unofficial/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/cmake_unofficial/CMakeLists.txt b/contrib/cmake_unofficial/CMakeLists.txt
index b09c4fb..42d92ea 100644
--- a/contrib/cmake_unofficial/CMakeLists.txt
+++ b/contrib/cmake_unofficial/CMakeLists.txt
@@ -172,6 +172,7 @@ if(NOT LZ4_BUNDLED_MODE)
include(GNUInstallDirs)
install(TARGETS ${LZ4_PROGRAMS_BUILT}
+ BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(TARGETS ${LZ4_LIBRARIES_BUILT}
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"