From 3a8fefaf91019de60d2d34e364193f96dcc9daae Mon Sep 17 00:00:00 2001 From: VoxelTek <53562267+VoxelTek@users.noreply.github.com> Date: Thu, 31 Jul 2025 10:40:50 +1000 Subject: [PATCH] Use `DOWNLOD_DEPENDENCIES` SDL3 We need the latest version so we have the audio fix for PSP --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c78f557e..430a3b7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ option(ENABLE_CLANG_TIDY "Enable clang-tidy") option(DOWNLOAD_DEPENDENCIES "Download dependencies" ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" CACHE PATH "Directory where to put executables and dll") set(ISLE_EMSCRIPTEN_HOST "" CACHE STRING "Host URL for Emscripten streaming (e.g., https://test.com)") -cmake_dependent_option(BUILD_SHARED_LIBS "Build lego1 as a shared library" ON "NOT EMSCRIPTEN AND NOT PSP" OFF) +cmake_dependent_option(BUILD_SHARED_LIBS "Build lego1 as a shared library" ON "NOT EMSCRIPTEN;NOT PSP" OFF) message(STATUS "Isle app: ${ISLE_BUILD_APP}") message(STATUS "Config app: ${ISLE_BUILD_CONFIG}") @@ -91,7 +91,7 @@ else() target_link_libraries(Isle::iniparser INTERFACE iniparser-shared) endif() -if (DOWNLOAD_DEPENDENCIES AND NOT PSP) +if (DOWNLOAD_DEPENDENCIES) message(STATUS "Fetching SDL3. This might take a while...") include(FetchContent) if (WINDOWS_STORE)