mirror of https://github.com/encounter/SDL.git
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
This commit is contained in:
parent
4809bd356e
commit
3c3c02518c
|
@ -56,6 +56,8 @@ if(NOT TARGET SDL2::SDL2)
|
|||
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
|
||||
IMPORTED_IMPLIB "${SDL2_LIBRARY}"
|
||||
IMPORTED_LOCATION "${SDL2_DLL_LIBRARY}"
|
||||
COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
|
||||
INTERFACE_SDL2_SHARED "ON"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -43,5 +43,7 @@ if(NOT TARGET SDL2::SDL2)
|
|||
INTERFACE_COMPILE_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_FRAMEWORK_PATH}/Headers"
|
||||
INTERFACE_LINK_OPTIONS "-F;${SDL2_FRAMEWORK_PARENT_PATH};-framework;SDL2"
|
||||
COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
|
||||
INTERFACE_SDL2_SHARED "ON"
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue