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
test Removed SDL_INIT_EVERYTHING 2024-01-18 06:17:58 -08:00
3rdparty.cmake
CheckCPUArchitecture.cmake
cmake_uninstall.cmake.in
CPackProjectConfig.cmake.in
FindFFmpeg.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
macros.cmake cmake: the compile-time pdb does not have a suffix, if set 2023-11-09 03:28:20 +01:00
PkgConfigHelper.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
sdl3.pc.in
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
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
sdltargets.cmake cmake: file(RELATIVE_PATH) needs 2 absolute paths 2023-10-30 19:50:35 +01:00
xxd.py