Anonymous Maarten
cbb1cf0c93
cmake+xcode: only create SDL2::SDL2main target when it does not exist again
2022-10-04 21:15:09 +02:00
Anonymous Maarten
dc2ef31c29
cmake: create SDL2::SDL2main target in Apple framework official release
2022-08-24 06:20:28 -07:00
Pierre Wendling
1963cccce1
CMake: Fix XCode CMake config file. ( #5787 )
...
As mentionned in libsdl-org/SDL_net#48 and libsdl-org/SDL_ttf#213 :
- Options needs to use `SHELL:` to avoid aggressive option de-duplication
- Framework path needs to be quoted to support paths with spaces.
2022-06-12 15:48:57 +02:00
Anonymous Maarten
96e3733a18
cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools
2022-06-03 12:41:36 -07:00
Anonymous Maarten
3c3c02518c
Add Compatible Interface Properties to VisualC and Xcode SDL2 config file
2022-05-31 00:10:55 +02:00
Sam Lantinga
423c7ef856
Don't set SDL2_LIBRARY, we need the Framework configuration on Apple platforms
2022-05-31 00:10:55 +02:00
Sam Lantinga
37ef6a765d
Use a full path for the framework header include path
2022-05-31 00:10:55 +02:00
Anonymous Maarten
f73c25648f
cmake: attempt to use framework in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Anonymous Maarten
4c3d1d32a5
Use INTERFACE_INCLUDE_DIRECTORIES in Xcode's sdl2-config.cmake
2022-05-31 00:10:55 +02:00
Anonymous Maarten
2c591e408e
Add CMake configuration files, meant for Macos framework
2022-05-31 00:10:55 +02:00