summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-07-29 21:26:59 +0200
committerJoshua Vandaƫle <joshua@vandaele.software>2026-07-29 21:27:06 +0200
commitd5e3c2bcfc5858a4322b2094b81487fd568e8cd1 (patch)
tree18d0694de19d79117a99751991793a8d7f1207cc /CMakeLists.txt
parent73de7b8d3e59d4bef685f582d305b65bdb85a707 (diff)
AboutDialog: Fix compilation with ENABLE_SDL=OFF
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7258caeec8..86d4479505 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -697,6 +697,7 @@ endif()
if(ENABLE_SDL)
dolphin_find_optional_system_library(SDL3 Externals/SDL 3.2.0)
+ add_definitions(-DHAVE_SDL3)
endif()
dolphin_find_optional_system_library(SFML Externals/SFML 3.0 COMPONENTS Network System)