From 4c3d1d32a5c165abc984b25f1da3e864b4227eeb Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 27 May 2022 11:52:16 +0200 Subject: [PATCH] Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake --- Xcode/SDL/pkg-support/resources/CMake/sdl2-config.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Xcode/SDL/pkg-support/resources/CMake/sdl2-config.cmake b/Xcode/SDL/pkg-support/resources/CMake/sdl2-config.cmake index bea873d40..776935a0f 100644 --- a/Xcode/SDL/pkg-support/resources/CMake/sdl2-config.cmake +++ b/Xcode/SDL/pkg-support/resources/CMake/sdl2-config.cmake @@ -43,5 +43,6 @@ if(NOT TARGET SDL2::SDL2) PROPERTIES FRAMEWORK 1 IMPORTED_LOCATION "${SDL2_LIBRARY}" + INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}" ) endif()