mirror of
https://gitee.com/cv_team/uestc-careye.git
synced 2024-12-03 12:18:49 +08:00
19 lines
808 B
CMake
19 lines
808 B
CMake
message(STATUS "FIND OpenCV")
|
|
find_package(OpenCV REQUIRED)
|
|
message(STATUS "OpenCV_DIR:${OpenCV_DIR}")
|
|
message(STATUS "OpenCV_INCLUDE_DIRS:${OpenCV_INCLUDE_DIRS}")
|
|
include_directories(${OpenCV_INCLUDE_DIRS})
|
|
message(STATUS "OpenCV VERSION is ${OpenCV_VERSION}")
|
|
if (${WITH_TBB} STREQUAL "ON")
|
|
message(STATUS "FIND InferenceEngine")
|
|
find_package(InferenceEngine REQUIRED)
|
|
message(STATUS "InferenceEngine_INCLUDE_DIRS:${InferenceEngine_INCLUDE_DIRS}")
|
|
message(STATUS "InferenceEngine_LIBRARIES:${InferenceEngine_LIBRARIES}")
|
|
include_directories(${InferenceEngine_INCLUDE_DIRS})
|
|
message(STATUS "FIND TBB")
|
|
find_package(TBB REQUIRED tbb)
|
|
message(STATUS "TBB Version:${TBB_VERSION}")
|
|
message(STATUS "TBB LIBS:${TBB_IMPORTED_TARGETS}")
|
|
add_definitions(-D WITH_TBB)
|
|
endif ()
|