Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ project(openfodder VERSION 1.5.4 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
option(OPENFODDER_ENABLE_FFMPEG "Enable FFmpeg intro video playback" OFF)
option(OPENFODDER_AUTO_FFMPEG "Auto-enable FFmpeg when found (non-Windows)" ON)
option(OPENFODDER_USE_SYSTEM_SDL3 "Use system SDL3 libraries (Windows-only)" OFF)

if(MSVC)
# Enable Hot Reload (Edit and Continue) for Debug builds.
Expand All @@ -29,7 +30,7 @@ else()
endif()

if(EMSCRIPTEN)
elseif(WIN32)
elseif(WIN32 AND NOT OPENFODDER_USE_SYSTEM_SDL3)
include(FetchContent)

set(SDL_INSTALL OFF CACHE BOOL "" FORCE)
Expand Down
Loading