Skip to content

Commit 58809cf

Browse files
committed
fix missing ncnn_DIR & InferenceEngine_DIR
1 parent fdbd3d1 commit 58809cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/CPU/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ RUN cd mmdeploy && rm -rf build/CM* && mkdir -p build && cd build && cmake .. \
103103
-DMMDEPLOY_CODEBASES=all &&\
104104
cmake --build . -- -j$(nproc) && cmake --install . &&\
105105
cd install/example && mkdir -p build && cd build &&\
106-
cmake -DMMDeploy_DIR=/root/workspace/mmdeploy/build/install/lib/cmake/MMDeploy .. &&\
106+
cmake .. -DMMDeploy_DIR=/root/workspace/mmdeploy/build/install/lib/cmake/MMDeploy \
107+
-DInferenceEngine_DIR=/opt/intel/openvino/deployment_tools/inference_engine/share \
108+
-Dncnn_DIR=/root/workspace/ncnn/build/install/lib/cmake/ncnn &&\
107109
cmake --build . && export SPDLOG_LEVEL=warn &&\
108110
if [ -z ${VERSION} ] ; then echo "Built MMDeploy master for CPU devices successfully!" ; else echo "Built MMDeploy version v${VERSION} for CPU devices successfully!" ; fi

0 commit comments

Comments
 (0)