SDL/cmake
Simon McVittie a06ee5b98d Don't try to use SDL platform macros in configure-time checks
At the point that we run this, nothing SDL-specific is set up yet.
__APPLE__ is a compiler predefined macro that forms part of the API on
Apple platforms, so it's fine to rely on it.

This partially reverts commit 31d133db.

Fixes: 31d133db "Define SDL_PLATFORM_* macros instead of underscored ones (#8875)"
Signed-off-by: Simon McVittie <smcv@collabora.com>
2024-01-24 14:12:50 +03:00
..
android cmake: create Android jars + apks for tests 2023-07-20 16:54:29 +02:00
test Removed SDL_INIT_EVERYTHING 2024-01-18 06:17:58 -08:00
3rdparty.cmake cmake: include_guard() is not needed 2023-02-13 04:55:46 +01:00
CPackProjectConfig.cmake.in cmake: add CPack support for creating binary archives 2023-01-31 01:59:21 +01:00
CheckCPUArchitecture.cmake cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC 2023-03-15 14:54:20 +01:00
FindFFmpeg.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
GetGitRevisionDescription.cmake Fix various typos (docs/build scripts/tests) 2023-07-03 08:35:37 -07:00
GetGitRevisionDescription.cmake.in cmake: generate git hash using GetRevisionDescription CMake module 2023-01-08 18:20:56 +01:00
PkgConfigHelper.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
SDL3Config.cmake.in cmake: create and install SDL3::Jar target for Android 2023-11-23 02:13:08 +01:00
SDL3jarTargets.cmake.in cmake: create and install SDL3::Jar target for Android 2023-11-23 02:13:08 +01:00
cmake_uninstall.cmake.in cmake: declutter root + remove obsolete variables 2022-12-19 09:19:45 -08:00
macros.cmake cmake: the compile-time pdb does not have a suffix, if set 2023-11-09 03:28:20 +01:00
sdl3.pc.in Don't provide the SDL3 header path 2023-08-31 11:41:37 -07:00
sdlchecks.cmake Don't try to use SDL platform macros in configure-time checks 2024-01-24 14:12:50 +03:00
sdlcompilers.cmake Use SDL_DISABLE_ALLOCA instead of HAVE_ALLOCA in SDL_stdinc.h 2023-10-28 18:54:12 +02:00
sdlmanpages.cmake cmake: make HEADERS_DIR a required argument of SDL_generate_manpages 2023-09-29 03:42:33 +02:00
sdlplatform.cmake Implement visionOS support 2023-08-08 22:25:04 -07:00
sdltargets.cmake cmake: file(RELATIVE_PATH) needs 2 absolute paths 2023-10-30 19:50:35 +01:00
xxd.py xxd.py: always write \n line endings 2023-08-13 13:51:31 -07:00