SDL/cmake
Donovan Maas 879f081de3
Improve OpenGL detection checks in CMake (#14443)
The OpenGL headers are not always implicitly available, so this improves the check by calling `find_package` and using the `OPENGL_INCLUDE_DIRS` or `OPENGL_INCLUDE_DIR` var for the `check_c_source_compiles` test.
The minimum CMake version currently set is 3.16, `OPENGL_INCLUDE_DIRS` was only added in 3.29, so the code is set to choose `OPENGL_INCLUDE_DIRS` if it exists. If the minimum CMake version is ever set to >= 3.29 this check can be removed and just the `OPENGL_INCLUDE_DIRS` variable can be chosen.
2025-11-14 00:18:33 -08:00
..
android Add build-release.py updates from satellite libraries 2024-12-08 02:16:02 +01:00
test Restore support for the Nokia N-Gage (#12148) 2025-05-22 11:07:22 -07:00
3rdparty.cmake Remove ARM32 assembly/pixman blitters 2024-07-08 10:53:46 -07:00
cmake_uninstall.cmake.in cmake: declutter root + remove obsolete variables 2022-12-19 09:19:45 -08:00
CPackProjectConfig.cmake.in cmake: add CPack support for creating binary archives 2023-01-31 01:59:21 +01:00
FindFFmpeg.cmake cmake: use *_STATIC_* variables when linking to a static ffmpeg 2023-10-10 03:32:46 -07:00
FindLibUSB.cmake Fixed line endings in FindLibUSB.cmake 2025-10-24 10:48:25 -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
macros.cmake cmake: List enabled camera backends. 2025-11-09 12:05:05 -05:00
PkgConfigHelper.cmake cmake: use correct suffix in PkgConfigHelper 2025-10-03 20:58:45 +02:00
PreseedEmscriptenCache.cmake cmake: Add some symbols to the Emscripten preseed cache. 2025-11-06 13:41:55 -05:00
PreseedMSVCCache.cmake cmake: cannot use CheckSymbolExists for _alloca 2025-10-10 17:31:33 +02:00
PreseedNokiaNGageCache.cmake cmake: make sure VARIABLE of check_linker_supports_version_file ends up in cache 2025-10-27 03:01:57 +01:00
sdl3.pc.in cmake: don't prepend absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR with ${prefix} 2024-09-14 16:21:42 +02:00
SDL3Config.cmake.in cmake: quietly look for SDL3-static and SDL3_test framework in SDL3Config.cmake 2025-10-03 19:14:40 +02:00
SDL3jarTargets.cmake.in cmake: create and install SDL3::Jar target for Android 2023-11-23 02:13:08 +01:00
sdlchecks.cmake Improve OpenGL detection checks in CMake (#14443) 2025-11-14 00:18:33 -08:00
sdlcommands.cmake cmake: fix typo 2025-10-22 19:00:41 +02:00
sdlcompilers.cmake cmake: simd detection clean-up for Apple multi-arch configs. 2025-09-02 22:34:10 +03:00
sdlcpu.cmake cmake: detect RISC-V architectures 2025-09-26 21:39:06 +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 cmake: detect RISCOS platform before GNU/Hurd 2025-08-08 12:47:09 -07:00
xxd.py xxd.py: always write \n line endings 2023-08-13 13:51:31 -07:00