summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindLibDRM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindLibDRM.cmake')
-rw-r--r--cmake/modules/FindLibDRM.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindLibDRM.cmake b/cmake/modules/FindLibDRM.cmake
index 35d632e..ec30920 100644
--- a/cmake/modules/FindLibDRM.cmake
+++ b/cmake/modules/FindLibDRM.cmake
@@ -3,7 +3,7 @@
3# ---------- 3# ----------
4# Finds the LibDRM library 4# Finds the LibDRM library
5# 5#
6# This will will define the following variables:: 6# This will define the following variables::
7# 7#
8# LIBDRM_FOUND - system has LibDRM 8# LIBDRM_FOUND - system has LibDRM
9# LIBDRM_INCLUDE_DIRS - the LibDRM include directory 9# LIBDRM_INCLUDE_DIRS - the LibDRM include directory
@@ -14,7 +14,7 @@
14# LibDRM::LibDRM - The LibDRM library 14# LibDRM::LibDRM - The LibDRM library
15 15
16if(PKG_CONFIG_FOUND) 16if(PKG_CONFIG_FOUND)
17 pkg_check_modules(PC_LIBDRM libdrm QUIET) 17 pkg_check_modules(PC_LIBDRM libdrm>=2.4.71 QUIET)
18endif() 18endif()
19 19
20find_path(LIBDRM_INCLUDE_DIR NAMES drm.h 20find_path(LIBDRM_INCLUDE_DIR NAMES drm.h