From 8edbd07b5eda28d7e5e83aff152dc7ce2a103690 Mon Sep 17 00:00:00 2001 From: Slendi Date: Mon, 24 Feb 2025 14:53:30 +0200 Subject: [PATCH] Do not check GUI libs for DRM (#4792) Signed-off-by: Slendi --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af4444e07..5f9ee3268 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ include(CompilerFlags) # Registers build options that are exposed to cmake include(CMakeOptions.txt) -if (UNIX AND NOT APPLE) +if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM") if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11) MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11") endif()