Use a full path for the framework header include path

This commit is contained in:
Sam Lantinga 2022-05-27 14:46:49 -07:00 committed by Anonymous Maarten
parent f73c25648f
commit 37ef6a765d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if(NOT TARGET SDL2::SDL2)
set_target_properties(SDL2::SDL2 set_target_properties(SDL2::SDL2
PROPERTIES PROPERTIES
INTERFACE_COMPILE_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH}" INTERFACE_COMPILE_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH}"
INTERFACE_INCLUDE_DIRECTORIES "SDL2.framework/Headers" INTERFACE_INCLUDE_DIRECTORIES "${SDL2_FRAMEWORK_PARENT_PATH}/SDL2.framework/Headers"
INTERFACE_LINK_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH};-framework;SDL2" INTERFACE_LINK_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH};-framework;SDL2"
) )
endif() endif()