Properly specify libdrm dependency

KWin needs at least 2.4.62 which added the atomic requests.
This commit is contained in:
Martin Gräßlin 2016-10-17 16:12:48 +02:00
parent e9d20b80e9
commit f642eb9d9d

View file

@ -182,7 +182,7 @@ if (UDEV_FOUND)
set(HAVE_UDEV TRUE) set(HAVE_UDEV TRUE)
endif() endif()
find_package(Libdrm) find_package(Libdrm 2.4.62)
set_package_properties(Libdrm PROPERTIES TYPE OPTIONAL PURPOSE "Required for drm output on Wayland.") set_package_properties(Libdrm PROPERTIES TYPE OPTIONAL PURPOSE "Required for drm output on Wayland.")
set(HAVE_DRM FALSE) set(HAVE_DRM FALSE)
if(Libdrm_FOUND AND UDEV_FOUND) if(Libdrm_FOUND AND UDEV_FOUND)