From 5610b6440617246972105a93ca6a35c9ed045db4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 8 Dec 2016 01:11:44 +0200 Subject: Remove libdrm_omap dependency The library is just a wrapper around ioctls. It doesn't provide much value, and its API is marked as experimental and should thus not be expected to be stable. As third party library dependencies are always painful for distributors and packagers, use the ioctls directly for now. Signed-off-by: Laurent Pinchart --- py/pykms/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'py/pykms/CMakeLists.txt') diff --git a/py/pykms/CMakeLists.txt b/py/pykms/CMakeLists.txt index 505c0c3..56a9c35 100644 --- a/py/pykms/CMakeLists.txt +++ b/py/pykms/CMakeLists.txt @@ -1,3 +1,4 @@ +include_directories(${PROJECT_BINARY_DIR}) # for config.h include_directories(${LIBDRM_INCLUDE_DIRS}) link_directories(${LIBDRM_LIBRARY_DIRS}) @@ -12,7 +13,7 @@ include_directories(${PROJECT_SOURCE_DIR}/ext/pybind11/include) set(SRCS pykms.cpp pykmsbase.cpp pykmsutil.cpp pyvid.cpp) -if(LIBDRM_OMAP_FOUND) +if(HAVE_OMAP_DRM) set(SRCS ${SRCS} pykmsomap.cpp) endif() -- cgit v1.2.3