1
0
Fork 2
RobotKernal-UESTC/Code/MowingRobot/pibot_ros/third_party/libuvc/libuvcConfig.cmake

18 lines
473 B
CMake
Raw Normal View History

2023-12-14 23:56:56 +08:00
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)