Use DOWNLOD_DEPENDENCIES SDL3

We need the latest version so we have the audio fix for PSP
This commit is contained in:
VoxelTek 2025-07-31 10:40:50 +10:00
parent 30923e9a21
commit 3a8fefaf91

View File

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