cmake_minimum_required(VERSION 3.1)
project(test_package C)

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

find_package(libuvc REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.c)
if(LIBUVC_SHARED)
  target_link_libraries(${PROJECT_NAME} LibUVC::UVCShared)
else()
  target_link_libraries(${PROJECT_NAME} LibUVC::UVCStatic)
endif()
