mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
1b4b9170a0
commit
b9e2f0e046
@ -102,19 +102,13 @@ if (DOWNLOAD_DEPENDENCIES)
|
|||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "Disable PCH globally" FORCE)
|
set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON CACHE BOOL "Disable PCH globally" FORCE)
|
||||||
elseif (EMSCRIPTEN)
|
|
||||||
FetchContent_Declare(
|
|
||||||
SDL3
|
|
||||||
GIT_REPOSITORY "https://github.com/libsdl-org/SDL.git"
|
|
||||||
GIT_TAG "7d66d3271b1c27d78651fa2a4fe1383e2f9b492d"
|
|
||||||
UPDATE_DISCONNECTED TRUE
|
|
||||||
EXCLUDE_FROM_ALL
|
|
||||||
)
|
|
||||||
else()
|
else()
|
||||||
|
set(ISLE_SDL3_GIT_REPO "https://github.com/libsdl-org/SDL.git" CACHE STRING "The SDL3 git repo")
|
||||||
|
set(ISLE_SDL3_GIT_TAG "main" CACHE STRING "The SDL3 git tag")
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SDL3
|
SDL3
|
||||||
GIT_REPOSITORY "https://github.com/libsdl-org/SDL.git"
|
GIT_REPOSITORY "${ISLE_SDL3_GIT_REPO}"
|
||||||
GIT_TAG "main"
|
GIT_TAG "${ISLE_SDL3_GIT_TAG}"
|
||||||
UPDATE_DISCONNECTED TRUE
|
UPDATE_DISCONNECTED TRUE
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user