mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-17 21:01:15 +00:00
Use DOWNLOD_DEPENDENCIES SDL3
We need the latest version so we have the audio fix for PSP
This commit is contained in:
parent
30923e9a21
commit
3a8fefaf91
@ -56,7 +56,7 @@ option(ENABLE_CLANG_TIDY "Enable clang-tidy")
|
|||||||
option(DOWNLOAD_DEPENDENCIES "Download dependencies" ON)
|
option(DOWNLOAD_DEPENDENCIES "Download dependencies" ON)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" CACHE PATH "Directory where to put executables and dll")
|
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)")
|
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 "Isle app: ${ISLE_BUILD_APP}")
|
||||||
message(STATUS "Config app: ${ISLE_BUILD_CONFIG}")
|
message(STATUS "Config app: ${ISLE_BUILD_CONFIG}")
|
||||||
@ -91,7 +91,7 @@ else()
|
|||||||
target_link_libraries(Isle::iniparser INTERFACE iniparser-shared)
|
target_link_libraries(Isle::iniparser INTERFACE iniparser-shared)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (DOWNLOAD_DEPENDENCIES AND NOT PSP)
|
if (DOWNLOAD_DEPENDENCIES)
|
||||||
message(STATUS "Fetching SDL3. This might take a while...")
|
message(STATUS "Fetching SDL3. This might take a while...")
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
if (WINDOWS_STORE)
|
if (WINDOWS_STORE)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user