소스 검색

Do not check GUI libs for DRM (#4792)

Signed-off-by: Slendi <[email protected]>
Slendi 6 달 전
부모
커밋
8edbd07b5e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -37,7 +37,7 @@ include(CompilerFlags)
 # Registers build options that are exposed to cmake
 # Registers build options that are exposed to cmake
 include(CMakeOptions.txt)
 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)
   if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
     MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
     MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
   endif()
   endif()