cmake: rename SDL_DISABLE_* CMake options to SDL_xxx

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2025-01-10 04:23:32 +01:00
1 parent 90aff306c1
commit bda90c3cb6
3 files changed
+27 -20

No files matched your search

+7
View File
@@ -131,6 +131,13 @@ Exceptions exist:
- some platforms don't support dynamic libraries, so only `-DSDL_STATIC=ON` makes sense.
- a static Apple framework is not supported
### Man pages
Configuring with `-DSDL_INSTALL_DOCS=TRUE` installs man pages.
We recommend package managers of unix distributions to install SDL3's man pages.
This adds an extra build-time dependency on Perl.
### Pass custom compile options to the compiler
- Use [`CMAKE_<LANG>_FLAGS`](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html) to pass extra