summaryrefslogtreecommitdiffhomepage
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorAlexandre Almeida <[email protected]>2024-03-04 15:59:26 -0300
committerGitHub <[email protected]>2024-03-04 19:59:26 +0100
commit85a46e42bd12a0973a22b48785b6c878b5bc58d6 (patch)
tree60b09b51137badbed07af7574574ebe7b377ec94 /CMakeOptions.txt
parent6e9dcdb599eb8548f49f2ae1330d5a752ed80530 (diff)
downloadraylib-85a46e42bd12a0973a22b48785b6c878b5bc58d6.tar.gz
raylib-85a46e42bd12a0973a22b48785b6c878b5bc58d6.zip
CMake: Remove USE_WAYLAND option (#3851)
* CMake: Remove USE_WAYLAND option * Consistency fix * Fix oversight
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 68468c07..2c58cd5c 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -20,9 +20,10 @@ option(MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS" OFF)
cmake_dependent_option(USE_AUDIO "Build raylib with audio module" ON CUSTOMIZE_BUILD ON)
enum_option(USE_EXTERNAL_GLFW "OFF;IF_POSSIBLE;ON" "Link raylib against system GLFW instead of embedded one")
-if(UNIX AND NOT APPLE)
- option(USE_WAYLAND "Use Wayland for window creation" OFF)
-endif()
+
+# GLFW build options
+option(GLFW_BUILD_WAYLAND "Build the bundled GLFW with Wayland support" ON)
+option(GLFW_BUILD_X11 "Build the bundled GLFW with X11 support" ON)
option(INCLUDE_EVERYTHING "Include everything disabled by default (for CI usage" OFF)
set(OFF ${INCLUDE_EVERYTHING} CACHE INTERNAL "Replace any OFF by default with \${OFF} to have it covered by this option")