summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
authorarikover <arikover@gmail.com>2020-06-09 11:58:02 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2020-06-09 13:06:33 +0200
commitcaab095e4ea202ccbe09b4c3f2ea6e36070bef29 (patch)
tree3c01218c063e8f4a6073b79db0324bd0bf2af88f /src/sound
parent40436019fd05abf5c92daf8a6d0388d32a36c5a3 (diff)
downloadopenttd-caab095e4ea202ccbe09b4c3f2ea6e36070bef29.tar.xz
Fix: [CMake] SDL2 Sound was not included
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sound/CMakeLists.txt b/src/sound/CMakeLists.txt
index 35f65d120..24a38e409 100644
--- a/src/sound/CMakeLists.txt
+++ b/src/sound/CMakeLists.txt
@@ -12,6 +12,12 @@ if (NOT OPTION_DEDICATED)
)
add_files(
+ sdl2_s.cpp
+ sdl_s.h
+ CONDITION SDL2_FOUND
+ )
+
+ add_files(
cocoa_s.cpp
cocoa_s.h
CONDITION APPLE