diff options
author | Wohlstand <Wohlstand@users.noreply.github.com> | 2024-05-23 01:44:12 +0300 |
---|---|---|
committer | Wohlstand <Wohlstand@users.noreply.github.com> | 2024-05-23 01:44:12 +0300 |
commit | 19e8edf3bd9d8b41e880ba9045969dd766763453 (patch) | |
tree | a7d82bd6fc8db410cea0bb62fe65872047e95511 /CMakeLists.txt | |
parent | 41d75bcfa213248697a64aec13d38bd56cfa7d3f (diff) | |
download | libADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.tar.gz libADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.tar.bz2 libADLMIDI-19e8edf3bd9d8b41e880ba9045969dd766763453.zip |
MidiPlay: Fixed build on macOS
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
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}) |