From 19e8edf3bd9d8b41e880ba9045969dd766763453 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 23 May 2024 01:44:12 +0300 Subject: MidiPlay: Fixed build on macOS --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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}) -- cgit v1.2.3