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 --- kms++/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'kms++/CMakeLists.txt') diff --git a/kms++/CMakeLists.txt b/kms++/CMakeLists.txt index 10352a2..66b4286 100644 --- a/kms++/CMakeLists.txt +++ b/kms++/CMakeLists.txt @@ -1,13 +1,10 @@ include_directories(${LIBDRM_INCLUDE_DIRS}) link_directories(${LIBDRM_LIBRARY_DIRS}) -include_directories(${LIBDRM_OMAP_INCLUDE_DIRS}) -link_directories(${LIBDRM_OMAP_LIBRARY_DIRS}) - file(GLOB SRCS "src/*.cpp" "src/*.h") file(GLOB PUB_HDRS "inc/kms++/*.h") -if(LIBDRM_OMAP_FOUND) +if(HAVE_OMAP_DRM) file(GLOB OMAP_SRCS "src/omap/*.cpp" "src/omap/*.h") file(GLOB OMAP_PUB_HDRS "inc/kms++/omap/*.h") @@ -22,7 +19,7 @@ target_include_directories(kms++ PUBLIC $ PRIVATE src) -target_link_libraries(kms++ ${LIBDRM_LIBRARIES} ${LIBDRM_OMAP_LIBRARIES}) +target_link_libraries(kms++ ${LIBDRM_LIBRARIES}) set_target_properties(kms++ PROPERTIES PUBLIC_HEADER "${PUB_HDRS}") -- cgit v1.2.3