diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-09 14:52:10 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-12 21:19:58 +0300 |
commit | 15f8f2dddbf81923aec60284435961a1343c4917 (patch) | |
tree | e0ccfd259342d84bd49cc94b6f1a2344f9b29fa4 /lib | |
parent | ebbf12d8b684d059feeb95df3d8c567ce5c119be (diff) |
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
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 + $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include> $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include/uvcgadget> - $<INSTALL_INTERFACE:include> - PRIVATE - ${KERNEL_INCLUDE_DIR}) + $<INSTALL_INTERFACE:include>) install(TARGETS uvcgadget LIBRARY DESTINATION lib |