From 15f8f2dddbf81923aec60284435961a1343c4917 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 9 Jun 2018 14:52:10 +0300 Subject: Import the g_uvc.h header from the kernel sources In order to avoid depending on an external kernel source tree recent enough to provide the g_uvc.h header, import in the the project. Signed-off-by: Laurent Pinchart --- lib/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c798d3b..ca08fd7 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -6,10 +6,9 @@ add_library(uvcgadget ${SOURCES}) set_target_properties(uvcgadget PROPERTIES PUBLIC_HEADER "${HEADERS}") target_include_directories(uvcgadget PUBLIC + $ $ - $ - PRIVATE - ${KERNEL_INCLUDE_DIR}) + $) install(TARGETS uvcgadget LIBRARY DESTINATION lib -- cgit v1.2.3