Mir

Comment 0 for bug 1617256

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

set(
  MIR_PLATFORM
  mesa-kms;android;mesa-x11;eglstream-kms
  CACHE
  STRING
  "a list of graphics backends to build (options are 'mesa-kms', 'android', 'mesa-x11', or 'eglstream-kms')"
)

has eglstream-kms by default,

  if (platform STREQUAL "eglstream-kms")
     set(MIR_BUILD_PLATFORM_EGLSTREAM_KMS TRUE)
  endif()

enables:

if (MIR_BUILD_PLATFORM_EGLSTREAM_KMS)
  pkg_check_modules(EPOXY REQUIRED epoxy)
endif()