find_package(CUDA REQUIRED) target_include_directories(${TARGET_NAME} PUBLIC ${CUDA_INCLUDE_DIRS})
ZED2
1 2 3
find_package(ZED 3 REQUIRED) target_include_directories(${TARGET_NAME} PUBLIC ${ZED_INCLUDE_DIRS}) target_link_directories(${TARGET_NAME} PUBLIC ${ZED_LIBRARY_DIR})
Boost
1 2 3
find_package(Boost REQUIRED) target_include_directories(${TARGET_NAME} PUBLIC ${Boost_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} PUBLIC ${Boost_LIBRARIES})
OpenCV4.X
1 2 3
find_package(OpenCV REQUIRED) target_include_directories(${TARGET_NAME} PUBLIC ${OpenCV_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} PUBLIC ${OpenCV_LIBRARIES})
Redis++
1 2 3 4
find_path(REDIS_INCLUDE_DIRS "sw") find_library(REDIS_LIBRARIES "redis++") target_include_directories(${TARGET_NAME} PUBLIC ${REDIS_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} PUBLIC ${REDIS_LIBRARIES})
Protobuf3
1 2 3 4
##protobuf find_package(Protobuf REQUIRED) target_include_directories(${TARGET_NAME} PUBLIC ${PROTOBUF_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} PUBLIC ${PROTOBUF_LIBRARIES})