diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-18 15:51:11 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-18 15:51:11 +0200 |
commit | 2024b70397aeea0b1533399831df6ba994b6be8d (patch) | |
tree | dafe3371054eab671c8192a0dee3392702a929d7 /libkmstest | |
parent | 2d658a3d17e512f4ea71dc144d38f3c5774a3792 (diff) |
libkmstest: remove dependency to libdrm
Diffstat (limited to 'libkmstest')
-rw-r--r-- | libkmstest/CMakeLists.txt | 5 | ||||
-rw-r--r-- | libkmstest/colorbar.cpp | 1 | ||||
-rw-r--r-- | libkmstest/testpat.cpp | 6 |
3 files changed, 1 insertions, 11 deletions
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 <cstdint> -#include <drm_fourcc.h> #include <kms++.h> 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 <cstring> #include <cassert> -#include <xf86drm.h> -#include <xf86drmMode.h> -#include <drm_fourcc.h> -#include <drm.h> -#include <drm_mode.h> - #include "kms++.h" #include "test.h" #include "cpuframebuffer.h" |