diff --git a/cpp/build.sh b/cpp/build.sh index 21fcbcd90dca0c9eef0e7de9cf046e8b47e01548..1baad7d1c6c689c2c6f21b7190f1354d1046b177 100755 --- a/cpp/build.sh +++ b/cpp/build.sh @@ -85,6 +85,9 @@ fi # Knowhere build output path KNOWHERE_BUILD_DIR="`pwd`/thirdparty/knowhere/knowhere" +pushd `pwd`/thirdparty/knowhere +./build.sh -t ${BUILD_TYPE} -p ${KNOWHERE_BUILD_DIR} ${KNOWHERE_OPTS} +popd cd cmake_build