summaryrefslogtreecommitdiff
path: root/CMake/FindDRM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/FindDRM.cmake')
-rw-r--r--CMake/FindDRM.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/FindDRM.cmake b/CMake/FindDRM.cmake
index f65c457e..3de35bf1 100644
--- a/CMake/FindDRM.cmake
+++ b/CMake/FindDRM.cmake
@@ -27,6 +27,7 @@ FIND_LIBRARY(DRM_LIBRARY
DOC "The DRM library")
IF(DRM_INCLUDE_PATH)
+ INCLUDE_DIRECTORIES(${DRM_INCLUDE_PATH})
SET(DRM_FOUND 1 CACHE STRING "Set to 1 if DRM is found, 0 otherwise")
ELSE(DRM_INCLUDE_PATH)
SET(DRM_FOUND 0 CACHE STRING "Set to 1 if DRM is found, 0 otherwise")