diff options
Diffstat (limited to 'lib/CMakeLists.txt')
-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 |