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" } }, {