surfaceless: Remove false dependencies on gbm, libkms, libdrm.
authorEric Anholt <anholt@google.com>
Mon, 26 Aug 2019 21:38:06 +0000 (14:38 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 30 Sep 2019 11:16:22 +0000 (07:16 -0400)
Our code doesn't directly use any of those, they're just internal
dependencies of the surfaceless platform.  Avoids Mesa CI's CTS build
requiring an installed Mesa already.

Change-Id: I573939d3f4be307232f559da0cda8bc9c0999314

targets/surfaceless/surfaceless.cmake

index f506112..b85ca98 100644 (file)
@@ -34,10 +34,6 @@ endif ()
 pkg_check_modules(EGL REQUIRED egl)
 set(DEQP_EGL_LIBRARIES ${EGL_LIBRARIES})
 
-pkg_check_modules(GBM REQUIRED gbm)
-pkg_check_modules(KMS REQUIRED libkms)
-pkg_check_modules(DRM REQUIRED libdrm)
-
 include_directories(${GLES2_INCLUDE_PATH} ${GLES3_INCLUDE_PATH}
                     ${EGL_INCLUDE_DIRS} ${GBM_INCLUDE_DIRS}
                     ${KMS_INCLUDE_DIRS} ${DRM_INCLUDE_DIRS})