From 2024b70397aeea0b1533399831df6ba994b6be8d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 18 Mar 2016 15:51:11 +0200 Subject: libkmstest: remove dependency to libdrm --- libkmstest/CMakeLists.txt | 5 +---- libkmstest/colorbar.cpp | 1 - libkmstest/testpat.cpp | 6 ------ 3 files changed, 1 insertion(+), 11 deletions(-) (limited to 'libkmstest') diff --git a/libkmstest/CMakeLists.txt b/libkmstest/CMakeLists.txt index 55d31ae..e7980ee 100644 --- a/libkmstest/CMakeLists.txt +++ b/libkmstest/CMakeLists.txt @@ -1,8 +1,5 @@ -include_directories(${LIBDRM_INCLUDE_DIRS}) -link_directories(${LIBDRM_LIBRARY_DIRS}) - file(GLOB SRCS "*.cpp" "*.h") add_library(kmstest ${SRCS}) -target_link_libraries(kmstest kms++ ${LIBDRM_LIBRARIES}) +target_link_libraries(kmstest kms++) target_include_directories(kmstest PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/libkmstest/colorbar.cpp b/libkmstest/colorbar.cpp index 9daf4d6..9fbec28 100644 --- a/libkmstest/colorbar.cpp +++ b/libkmstest/colorbar.cpp @@ -1,5 +1,4 @@ #include -#include #include diff --git a/libkmstest/testpat.cpp b/libkmstest/testpat.cpp index c0541bb..68f4385 100644 --- a/libkmstest/testpat.cpp +++ b/libkmstest/testpat.cpp @@ -5,12 +5,6 @@ #include #include -#include -#include -#include -#include -#include - #include "kms++.h" #include "test.h" #include "cpuframebuffer.h" -- cgit v1.2.3