Do not check GUI libs for DRM

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
Slendi 2025-02-24 11:19:53 +02:00
parent 294da26042
commit c97eda7480
No known key found for this signature in database

View File

@ -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()