Skip to content

Commit e71d9d2

Browse files
committed
Fix cmake dependencies
1 parent 607b04e commit e71d9d2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

yolox_ros_cpp/yolox_cpp/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ set(ENABLE_TFLITE OFF)
3737

3838
if(YOLOX_USE_OPENVINO)
3939
find_package(OpenVINO REQUIRED)
40-
find_package(InferenceEngine REQUIRED)
41-
find_package(ngraph REQUIRED)
4240

4341
set(ENABLE_OPENVINO ON)
4442
set(TARGET_SRC src/yolox_openvino.cpp)
45-
set(TARGET_LIBS InferenceEngine ngraph)
46-
set(TARGET_DPENDENCIES OpenVINO InferenceEngine ngraph)
43+
set(TARGET_LIBS openvino::runtime)
44+
set(TARGET_DPENDENCIES OpenVINO)
4745
endif()
4846

4947
if(YOLOX_USE_TENSORRT)

0 commit comments

Comments
 (0)