Update cmake scripts
This commit is contained in:
2
3rdParty/libarchive/ext/CMakeLists.txt
vendored
2
3rdParty/libarchive/ext/CMakeLists.txt
vendored
@@ -28,6 +28,8 @@ ExternalProject_Add(zlib
|
|||||||
-DPLATFORM=${PLATFORM}
|
-DPLATFORM=${PLATFORM}
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/INSTALL
|
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/INSTALL
|
||||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||||
|
-DZLIB_BUILD_TESTING=OFF
|
||||||
|
-DZLIB_BUILD_MINIZIP=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
ExternalProject_Add(zstd
|
ExternalProject_Add(zstd
|
||||||
|
|||||||
@@ -153,7 +153,7 @@
|
|||||||
# command.
|
# command.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.8.0)
|
cmake_minimum_required(VERSION 3.11.0)
|
||||||
|
|
||||||
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
|
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
|
||||||
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.
|
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.
|
||||||
|
|||||||
Reference in New Issue
Block a user