diff --git a/src/bindings/python/CMakeLists.txt b/src/bindings/python/CMakeLists.txt index 03f1bfc9bbb47e..0904df55e6dc04 100644 --- a/src/bindings/python/CMakeLists.txt +++ b/src/bindings/python/CMakeLists.txt @@ -339,7 +339,7 @@ if(ENABLE_PYTHON_PACKAGING) SKIP_RPATH=ON SETUPTOOLS_INSTALL_LIB=${ov_install_lib} SETUPTOOLS_INSTALL_SCRIPTS=${ov_python_package_prefix}/bin - "${Python3_EXECUTABLE}" -m pip --python=/usr/bin/python3 install --verbose --ignore-requires-python --no-deps --no-compile --break-system-packages --target "${ov_python_package_prefix}" "${CMAKE_CURRENT_SOURCE_DIR}" + "${Python3_EXECUTABLE}" -m pip --python=/usr/bin/python3 install --verbose --ignore-requires-python --no-deps --no-compile --break-system-packages --prefix "${ov_python_package_prefix}" "${CMAKE_CURRENT_SOURCE_DIR}" WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" DEPENDS ${ov_setup_py_deps} COMMENT "Create python package with ${openvino_meta_info_subdir} folder")