summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-13 19:27:02 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-13 19:28:02 (GMT)
commit7a37afa7e709bb1134ad7fb058195bc85f261b87 (patch)
tree66fa65756cceb5ee60e53199a1d34fc4f1332785 /bootstrap
parent05ab4b7c66cccb7b04b05e252671f3628d4795fc (diff)
downloadCMake-7a37afa7e709bb1134ad7fb058195bc85f261b87.zip
CMake-7a37afa7e709bb1134ad7fb058195bc85f261b87.tar.gz
CMake-7a37afa7e709bb1134ad7fb058195bc85f261b87.tar.bz2
bootstrap: Add option to build with system liblzma (#15916)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index d1274c1..b3f06a1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -404,6 +404,8 @@ Configuration:
--no-system-zlib use cmake-provided zlib library (default)
--system-bzip2 use system-installed bzip2 library
--no-system-bzip2 use cmake-provided bzip2 library (default)
+ --system-liblzma use system-installed liblzma library
+ --no-system-liblzma use cmake-provided liblzma library (default)
--system-libarchive use system-installed libarchive library
--no-system-libarchive use cmake-provided libarchive library (default)
@@ -632,10 +634,10 @@ while test $# != 0; do
--init=*) cmake_init_file=`cmake_arg "$1"` ;;
--system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=1" ;;
--no-system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=0" ;;
- --system-bzip2|--system-curl|--system-expat|--system-jsoncpp|--system-libarchive|--system-zlib)
+ --system-bzip2|--system-curl|--system-expat|--system-jsoncpp|--system-libarchive|--system-zlib|--system-liblzma)
lib=`cmake_arg "$1" "--system-"`
cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=1" ;;
- --no-system-bzip2|--no-system-curl|--no-system-expat|--no-system-jsoncpp|--no-system-libarchive|--no-system-zlib)
+ --no-system-bzip2|--no-system-curl|--no-system-expat|--no-system-jsoncpp|--no-system-libarchive|--no-system-zlib|--no-system-liblzma)
lib=`cmake_arg "$1" "--no-system-"`
cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=0" ;;
--qt-gui) cmake_bootstrap_qt_gui="1" ;;