diff options
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt deleted file mode 100644 index eacfb9c..0000000 --- a/lib/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -file(GLOB SOURCES "*.c" "*.h") -file(GLOB HEADERS "../include/uvcgadget/*.h") - -add_subdirectory(compat) - -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>) - -install(TARGETS uvcgadget - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib - PUBLIC_HEADER DESTINATION include/uvcgadget) |