1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Disable SDL2 for 5.10.0 (#15284)

see #14545
This commit is contained in:
sfan5
2024-10-14 22:09:11 +02:00
committed by GitHub
parent 6431ef7324
commit 6d7a519740
9 changed files with 12 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the
* `ENABLE_OPENGL` - Enable OpenGL driver
* `ENABLE_OPENGL3` (default: `OFF`) - Enable OpenGL 3+ driver
* `ENABLE_GLES2` - Enable OpenGL ES 2+ driver
* `USE_SDL2` (default: platform-dependent, usually `ON`) - Use SDL2 instead of older native device code
* `USE_SDL2` (default: ON for Android, OFF for other platforms) - Use SDL2 instead of older native device code
However, IrrlichtMt cannot be built or installed separately.

View File

@@ -1,6 +1,6 @@
# When enabling SDL2 by default on macOS, don't forget to change
# "NSHighResolutionCapable" to true in "Info.plist".
if(NOT APPLE)
if(ANDROID)
set(DEFAULT_SDL2 ON)
endif()