From ed29fe5aee27e071dd039fe46514ac9e52c46f64 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Thu, 4 Apr 2024 01:58:48 -0700 Subject: [PATCH] Updated `GLFW` to 3.4 --- CMakeLists.txt | 6 ++++-- third-party/bootstrap-deps.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eaef9a726d..1334c74617 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -207,9 +207,11 @@ if(LVK_WITH_GLFW) set(GLFW_INSTALL OFF CACHE BOOL "") set(GLFW_VULKAN_STATIC OFF CACHE BOOL "") if(WAYLAND_FOUND) - set(GLFW_USE_WAYLAND ON) + set(GLFW_BUILD_WAYLAND ON) + set(GLFW_BUILD_X11 OFF) else() - set(GLFW_USE_WAYLAND OFF) + set(GLFW_BUILD_WAYLAND OFF) + set(GLFW_BUILD_X11 ON) endif() add_subdirectory(third-party/deps/src/glfw) lvk_set_folder(glfw "third-party/GLFW3") diff --git a/third-party/bootstrap-deps.json b/third-party/bootstrap-deps.json index f8ddf86491..0f2c4ae41c 100644 --- a/third-party/bootstrap-deps.json +++ b/third-party/bootstrap-deps.json @@ -44,7 +44,7 @@ "source": { "type": "git", "url": "https://github.com/glfw/glfw.git", - "revision": "3.3.9" + "revision": "3.4" } }, {