Tmp3/pibot_ros/third_party/libuvc/libuvcConfig.cmake

18 lines
473 B
CMake

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
# If find_package called with REQUIRED or QUIET we need to
# forward down it
unset(extraArgs)
if(${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY)
list(APPEND extraArgs QUIET)
endif()
if(${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED)
list(APPEND extraArgs REQUIRED)
endif()
find_package(JpegPkg ${extraArgs})
find_package(LibUSB ${extraArgs})
include("${CMAKE_CURRENT_LIST_DIR}/libuvcTargets.cmake")
set(libuvc_FOUND TRUE)