We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefe379 commit 6c737a3Copy full SHA for 6c737a3
1 file changed
CMakeLists.txt
@@ -14,6 +14,7 @@ project(openfodder VERSION 1.5.4 LANGUAGES CXX)
14
set(CMAKE_CXX_STANDARD 14)
15
option(OPENFODDER_ENABLE_FFMPEG "Enable FFmpeg intro video playback" OFF)
16
option(OPENFODDER_AUTO_FFMPEG "Auto-enable FFmpeg when found (non-Windows)" ON)
17
+option(OPENFODDER_USE_SYSTEM_SDL3 "Use system SDL3 libraries (Windows-only)" OFF)
18
19
if(MSVC)
20
# Enable Hot Reload (Edit and Continue) for Debug builds.
@@ -29,7 +30,7 @@ else()
29
30
endif()
31
32
if(EMSCRIPTEN)
-elseif(WIN32)
33
+elseif(WIN32 AND NOT OPENFODDER_USE_SYSTEM_SDL3)
34
include(FetchContent)
35
36
set(SDL_INSTALL OFF CACHE BOOL "" FORCE)
0 commit comments