From 731d46beb5dbddf417f371b87518e78faee7f5d6 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Wed, 8 May 2024 00:57:52 +0100 Subject: [PATCH] Change: Don't include midi file processing in dedicated server build. (#12632) --- src/music/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/music/CMakeLists.txt b/src/music/CMakeLists.txt index 54105bd3cb..cf60e78669 100644 --- a/src/music/CMakeLists.txt +++ b/src/music/CMakeLists.txt @@ -36,12 +36,15 @@ if(NOT OPTION_DEDICATED) bemidi.h CONDITION HAIKU ) + + add_files( + midi.h + midifile.cpp + midifile.hpp + ) endif() add_files( - midi.h - midifile.cpp - midifile.hpp music_driver.hpp null_m.cpp null_m.h