From 9212c291f793c49d8ee6004e7a868af0029bc033 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Mon, 27 Nov 2023 16:48:30 +0000 Subject: [PATCH] chore: fix linux build finding dependencies --- src/CMakeLists.txt | 3 +++ src/CMakeModules/Bootstrap_Windows.cmake | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1c825717b4..1b040081a0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,6 +7,9 @@ SET (CONFIG_VERSION_MINOR 4) SET (CONFIG_VERSION_BUG 0) SET (CONFIG_VERSION_TAG "Dev") +set(CASPARCG_DOWNLOAD_MIRROR https://github.com/CasparCG/dependencies/releases/download/ CACHE STRING "Source/mirror to use for external dependencies") +set(CASPARCG_DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR}/external CACHE STRING "Download cache directory for cmake ExternalProjects") + option(ENABLE_HTML "Enable HTML module, require CEF" ON) # Add custom cmake modules path diff --git a/src/CMakeModules/Bootstrap_Windows.cmake b/src/CMakeModules/Bootstrap_Windows.cmake index 9b7595af2a..a4b4633b19 100644 --- a/src/CMakeModules/Bootstrap_Windows.cmake +++ b/src/CMakeModules/Bootstrap_Windows.cmake @@ -2,8 +2,6 @@ cmake_minimum_required (VERSION 3.16) include(ExternalProject) -set(CASPARCG_DOWNLOAD_MIRROR https://github.com/CasparCG/dependencies/releases/download/ CACHE STRING "Source/mirror to use for external dependencies") -set(CASPARCG_DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR}/external CACHE STRING "Download cache directory for cmake ExternalProjects") set(BOOST_USE_PRECOMPILED ON CACHE BOOL "Use precompiled boost") set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE "" CACHE INTERNAL "")