Fix handling of Mirror list

This commit is contained in:
Georg Hagen
2024-06-02 21:30:27 +02:00
parent e3e8b3d2d8
commit 4b6c298b41
3 changed files with 6 additions and 6 deletions

View File

@@ -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 ()