build: use glfw3.4

This commit is contained in:
2025-12-09 13:04:51 +03:00
parent 93ab7bef81
commit 23a6a9245d
5 changed files with 15 additions and 21 deletions

View File

@@ -56,7 +56,7 @@ if(WIN32)
FetchContent_Declare(
glfw
GIT_REPOSITORY https://github.com/glfw/glfw.git
GIT_TAG 3.3.10
GIT_TAG 3.4
)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
@@ -78,8 +78,6 @@ else()
pkg_check_modules(WAYLAND_CLIENT wayland-client)
pkg_check_modules(WAYLAND_EGL wayland-egl)
include(CheckSymbolExists)
check_symbol_exists(glfwGetWaylandDisplay "GLFW/glfw3.h" GLFW_HAS_WAYLAND)
endif()
# -----------------------------