VideoPlayerSDL: Instruct the compiler to search SDL2's include path

On my Mac system with Homebrew SDL + self-built Clang, SDL2's include
directory is not in the library search path by default. Add it to
unbreak the build.
This commit is contained in:
Daniel Bertalan 2024-05-30 00:15:11 +02:00 committed by Tim Flynn
parent e13b9bef5c
commit 30f6cef648
Notes: sideshowbarker 2024-07-17 18:08:55 +09:00

View File

@ -4,4 +4,5 @@ add_executable(VideoPlayerSDL
main.cpp
)
target_include_directories(VideoPlayerSDL PRIVATE ${SDL2_INCLUDE_DIRS})
target_link_libraries(VideoPlayerSDL PRIVATE LibMain LibCore LibGfx LibVideo SDL2::SDL2)