Ozkan Sezer
098a7a043e
add missing quotes to the fallback CHECK_OBJC_SOURCE_COMPILES macro
...
Closes: https://github.com/libsdl-org/SDL/issues/6268 .
2022-09-21 10:37:02 +03:00
Anonymous Maarten
78a3751659
cmake+ci: fix+test sdl2-config + sdl2.pc for all supported platforms
2022-06-23 14:17:38 +02:00
Anonymous Maarten
5abd676917
Allow empty default values to the dep_option macro
2022-06-07 09:17:44 -07:00
Ozkan Sezer
9403543671
cmake: enable_language(OBJC) only for APPLE
2022-02-05 18:50:00 +03:00
Ozkan Sezer
3c9ac4489e
cmake: enable_language(OBJC) to fix check_objc_source_compiles().
2022-02-05 18:45:50 +03:00
Ozkan Sezer
686a0f3456
cmake: include CheckOBJCSourceCompiles for cmake >= 3.16
...
c.f. bugs #5011 and #3912
2022-02-05 18:28:24 +03:00
Wohlstand
3861afacf5
Fixed build on CMake older than 3.13
...
Fixes #5096
2021-12-18 06:28:22 -08:00
Ryan C. Gordon
60d59aeb61
cmake: Calculate padding for dislaying options automatically.
2021-10-05 10:54:06 -04:00
Ryan C. Gordon
7850d0cf6f
cmake: Prefix all options with "SDL_"
...
This makes it clear which options came from SDL's CMake project when
building SDL as a subdirectory of a parent CMake project.
Fixes #4139 .
2021-10-05 10:45:26 -04:00
Ivan Epifanov
47c105161b
Add reversive list join macro
2021-03-08 09:07:12 -08:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00