]> git.lizzy.rs Git - irrlicht.git/commitdiff
Document new CMake options
authorsfan5 <sfan5@live.de>
Thu, 6 Apr 2023 09:35:30 +0000 (11:35 +0200)
committersfan5 <sfan5@live.de>
Thu, 6 Apr 2023 09:35:30 +0000 (11:35 +0200)
README.md

index 0d17e194031e4af71f4507b06b8255c8399ce66a..a0c496c6892f067cbec2db609d671ab22a95d055 100644 (file)
--- 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: