mirror of https://github.com/encounter/SDL.git
Use a full path for the framework header include path
This commit is contained in:
parent
f73c25648f
commit
37ef6a765d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue