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)