summaryrefslogtreecommitdiffhomepage
path: root/cmake/GlfwImport.cmake
diff options
context:
space:
mode:
authorAlexandre Almeida <[email protected]>2024-02-29 14:29:32 -0300
committerGitHub <[email protected]>2024-02-29 18:29:32 +0100
commit6589311a0b7a217ec270000eb3ab2a5172992efa (patch)
tree177f6354455ab2338801e36bf11790622e74e12a /cmake/GlfwImport.cmake
parent53221eb799de037eaaae4accbfc5ef6f6c2fe1bb (diff)
downloadraylib-6589311a0b7a217ec270000eb3ab2a5172992efa.tar.gz
raylib-6589311a0b7a217ec270000eb3ab2a5172992efa.zip
Update GLFW to 3.4 (#3827)
* Update GLFW to 3.4 (draft) * Add _glfwConnectNull() function to rglfw.c * Update rglfw.c * Update Makefile * Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND * Revert "Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND" This reverts commit 9e79abde786bf797d8133fd95e8a475cf6e2b066. * GlfwImport.cmake: Replace GLFW_USE_WAYLAND with GLFW_BUILD_WAYLAND * Update rglfw.c * Output platform selected by GLFW to TRACELOG * GLFW has removed Mir support
Diffstat (limited to 'cmake/GlfwImport.cmake')
-rw-r--r--cmake/GlfwImport.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/GlfwImport.cmake b/cmake/GlfwImport.cmake
index 77c88e6c..1c267aba 100644
--- a/cmake/GlfwImport.cmake
+++ b/cmake/GlfwImport.cmake
@@ -16,7 +16,7 @@ if(NOT glfw3_FOUND AND NOT USE_EXTERNAL_GLFW STREQUAL "ON" AND "${PLATFORM}" MAT
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
- set(GLFW_USE_WAYLAND ${USE_WAYLAND} CACHE BOOL "" FORCE)
+ set(GLFW_BUILD_WAYLAND ${USE_WAYLAND} CACHE BOOL "" FORCE)
set(GLFW_LIBRARY_TYPE "OBJECT" CACHE STRING "" FORCE)