Fix python_tools benchmark installation location (#5539)

* Fix python_tools benchmark installation location

Before this fix, when running "make install", the benchmark python files
would be installed under <python_dest_dir>/openvino/tools, instead of
<python_dest_dir>/openvino/tools/benchmark. This commit fixes this.

* Alternative implementation
This commit is contained in:
Nico Galoppo 2021-05-12 04:35:50 -07:00 committed by GitHub
parent 2ba5c344be
commit 3c93548163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ if(ENABLE_PYTHON)
DESTINATION python/${PYTHON_VERSION}/openvino/tools DESTINATION python/${PYTHON_VERSION}/openvino/tools
COMPONENT python_tools_${PYTHON_VERSION}) COMPONENT python_tools_${PYTHON_VERSION})
install(DIRECTORY benchmark/ install(DIRECTORY benchmark
DESTINATION python/${PYTHON_VERSION}/openvino/tools DESTINATION python/${PYTHON_VERSION}/openvino/tools
USE_SOURCE_PERMISSIONS USE_SOURCE_PERMISSIONS
COMPONENT python_tools_${PYTHON_VERSION}) COMPONENT python_tools_${PYTHON_VERSION})