diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 30cb5f5..dccdf14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,11 @@ endif() find_package(PkgConfig REQUIRED) pkg_check_modules(LIBDRM libdrm>=2.4.64 REQUIRED) + pkg_check_modules(LIBDRM_OMAP libdrm_omap) +if(LIBDRM_OMAP_FOUND) + add_definitions(-DHAS_LIBDRM_OMAP) +endif() enable_testing() |