Skip to content

Commit ae532aa

Browse files
committed
Revert py OV in tests cmake
1 parent 9dd9fcb commit ae532aa

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/cpp/accuracy/CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,8 @@ FetchContent_MakeAvailable(json googletest)
6363

6464
include(../cmake/common.cmake)
6565

66-
find_package(Python3 REQUIRED)
67-
execute_process(
68-
COMMAND ${Python3_EXECUTABLE} -c "from openvino.utils import get_cmake_path; print(get_cmake_path(), end='')"
69-
OUTPUT_VARIABLE OpenVINO_DIR_PY
70-
ERROR_QUIET
71-
)
72-
7366
find_package(OpenCV REQUIRED COMPONENTS core highgui videoio imgproc imgcodecs)
74-
find_package(OpenVINO REQUIRED COMPONENTS Runtime HINTS "${OpenVINO_DIR_PY}")
67+
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
7568

7669
add_subdirectory(../../../src/cpp ${tests_BINARY_DIR}/model_api/cpp)
7770

0 commit comments

Comments
 (0)