Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake

main
Anonymous Maarten 2022-05-27 11:52:16 +02:00 committed by Anonymous Maarten
parent 7c2a6ea5f2
commit 4c3d1d32a5
1 changed files with 1 additions and 0 deletions

View File

@ -43,5 +43,6 @@ if(NOT TARGET SDL2::SDL2)
PROPERTIES PROPERTIES
FRAMEWORK 1 FRAMEWORK 1
IMPORTED_LOCATION "${SDL2_LIBRARY}" IMPORTED_LOCATION "${SDL2_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
) )
endif() endif()