Fix handling of Mirror list
This commit is contained in:
8
3rdParty/libarchive/ext/CMakeLists.txt
vendored
8
3rdParty/libarchive/ext/CMakeLists.txt
vendored
@@ -2,16 +2,16 @@ cmake_minimum_required(VERSION 3.16)
|
||||
project(build_libarchive)
|
||||
include(ExternalProject)
|
||||
|
||||
if(NOT DEFINED ZLIB_REPO)
|
||||
if(NOT DEFINED ZLIB_REPO OR ZLIB_REPO STREQUAL "")
|
||||
set(ZLIB_REPO https://github.com/madler/zlib.git)
|
||||
endif ()
|
||||
if(NOT DEFINED ZSTD_REPO)
|
||||
if(NOT DEFINED ZSTD_REPO OR ZSTD_REPO STREQUAL "")
|
||||
set(ZSTD_REPO https://github.com/facebook/zstd)
|
||||
endif ()
|
||||
if(NOT DEFINED LZ4_REPO)
|
||||
if(NOT DEFINED LZ4_REPO OR LZ4_REPO STREQUAL "")
|
||||
set(LZ4_REPO https://github.com/lz4/lz4)
|
||||
endif ()
|
||||
if(NOT DEFINED LIBARCHIVE_REPO)
|
||||
if(NOT DEFINED LIBARCHIVE_REPO OR LIBARCHIVE_REPO STREQUAL "")
|
||||
set(LIBARCHIVE_REPO https://github.com/libarchive/libarchive.git)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user