From f5d3448b171be983280fc67ce911bfbf0bd42ff0 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 6 Apr 2023 11:35:30 +0200 Subject: [PATCH] Document new CMake options --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0d17e194..a0c496c6 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ The following libraries are required to be installed: Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the following options are available: * `BUILD_SHARED_LIBS` (default: `ON`) - Build IrrlichtMt as a shared library * `BUILD_EXAMPLES` (default: `OFF`) - Build example applications +* `ENABLE_OPENGL` - Enable OpenGL driver +* `ENABLE_OPENGL3` (default: `OFF`) - Enable OpenGL 3+ driver +* `ENABLE_GLES1` - Enable OpenGL ES driver, legacy +* `ENABLE_GLES2` - Enable OpenGL ES 2+ driver +* `USE_SDL2` (default: `OFF`) - Use SDL2 instead of native platform device e.g. on a Linux system you might want to build for local use like this: