From 9244b735e8ff7e0365cbfffe2837ed1f8f820532 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 31 May 2024 19:54:08 -0500 Subject: [PATCH] [nostalgia] Fix non-Linux non-Apple systems not to build GLFW for Wayland --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3553ce1..7e54bdbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,9 @@ if(NOT BUILDCORE_TARGET STREQUAL "gba") set(GLFW_BUILD_EXAMPLES OFF) set(GLFW_BUILD_TESTS OFF) set(GLFW_BUILD_DOCS OFF) + if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") + set(GLFW_BUILD_WAYLAND OFF) + endif() add_subdirectory(deps/glfw) add_subdirectory(deps/glutils) add_subdirectory(deps/imgui)