Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
parent
7c2a6ea5f2
commit
4c3d1d32a5
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue