aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <Wohlstand@users.noreply.github.com>2024-05-23 01:44:12 +0300
committerWohlstand <Wohlstand@users.noreply.github.com>2024-05-23 01:44:12 +0300
commit19e8edf3bd9d8b41e880ba9045969dd766763453 (patch)
treea7d82bd6fc8db410cea0bb62fe65872047e95511 /CMakeLists.txt
parent41d75bcfa213248697a64aec13d38bd56cfa7d3f (diff)
downloadlibADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.tar.gz
libADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.tar.bz2
libADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.zip
MidiPlay: Fixed build on macOS
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 39948f1..dcfddc9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -424,6 +424,7 @@ function(libADLMIDI_find_SDL2)
add_library(ADLMIDI_SDL2 INTERFACE)
if(TARGET SDL2::SDL2)
target_link_libraries(ADLMIDI_SDL2 INTERFACE SDL2::SDL2)
+ target_include_directories(ADLMIDI_SDL2 INTERFACE ${SDL2_INCLUDE_DIRS})
else()
string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
target_include_directories(ADLMIDI_SDL2 INTERFACE ${SDL2_INCLUDE_DIRS})