Skip to content

Commit

Permalink
Updated GLFW to 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Apr 4, 2024
1 parent c89cf49 commit ed29fe5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion third-party/bootstrap-deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"source": {
"type": "git",
"url": "https://github.com/glfw/glfw.git",
"revision": "3.3.9"
"revision": "3.4"
}
},
{
Expand Down

0 comments on commit ed29fe5

Please sign in to comment.