Fix handling of Mirror list
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
if: matrix.config.os == 'ubuntu-latest'
|
||||
run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DDEPENDENCY_MIRROR_FILE=${{github.workspace}}/workflows/DependencyMirrors.txt
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DDEPENDENCY_MIRROR_FILE="${{github.workspace}}/.gitea/workflows/DependencyMirrors.txt"
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
- name: Test
|
||||
|
||||
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 ()
|
||||
|
||||
|
||||
2
3rdParty/libjpeg-turbo/ext/CMakeLists.txt
vendored
2
3rdParty/libjpeg-turbo/ext/CMakeLists.txt
vendored
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16)
|
||||
project(build_libjpeg-turbo)
|
||||
include(ExternalProject)
|
||||
|
||||
if(NOT DEFINED LIBJPEGTURBO_REPO)
|
||||
if(NOT DEFINED LIBJPEGTURBO_REPO OR LIBJPEGTURBO_REPO STREQUAL "")
|
||||
set(LIBJPEGTURBO_REPO https://github.com/libjpeg-turbo/libjpeg-turbo.git)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user