Don't install scripts which are not used (#14414)
This commit is contained in:
parent
a945597802
commit
0357a97c40
|
|
@ -64,8 +64,17 @@ install(PROGRAMS "${_setupvars_file}"
|
|||
if(LINUX)
|
||||
ie_cpack_add_component(${OV_CPACK_COMP_INSTALL_DEPENDENCIES} HIDDEN)
|
||||
|
||||
install(DIRECTORY install_dependencies/
|
||||
DESTINATION install_dependencies
|
||||
COMPONENT ${OV_CPACK_COMP_INSTALL_DEPENDENCIES}
|
||||
USE_SOURCE_PERMISSIONS)
|
||||
set(install_dependencies_files install_openvino_dependencies.sh)
|
||||
if(ENABLE_INTEL_GPU)
|
||||
list(APPEND install_dependencies_files install_NEO_OCL_driver.sh)
|
||||
endif()
|
||||
if(ENABLE_INTEL_MYRIAD)
|
||||
list(APPEND install_dependencies_files install_NCS_udev_rules.sh)
|
||||
endif()
|
||||
|
||||
foreach(install_dependencies_file IN LISTS install_dependencies_files)
|
||||
install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/install_dependencies/${install_dependencies_file}"
|
||||
DESTINATION install_dependencies/
|
||||
COMPONENT ${OV_CPACK_COMP_INSTALL_DEPENDENCIES})
|
||||
endforeach()
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -200,9 +200,6 @@ if(ENABLE_PKGCONFIG_GEN)
|
|||
if(ENABLE_OV_IR_FRONTEND)
|
||||
list(REMOVE_ITEM PKGCONFIG_OpenVINO_FRONTENDS_LIST openvino_ir_frontend)
|
||||
endif()
|
||||
if(ENABLE_OV_TF_FRONTEND)
|
||||
list(REMOVE_ITEM PKGCONFIG_OpenVINO_FRONTENDS_LIST openvino_tensorflow_frontend)
|
||||
endif()
|
||||
|
||||
foreach(frontend IN LISTS PKGCONFIG_OpenVINO_FRONTENDS_LIST)
|
||||
if(PKGCONFIG_OpenVINO_FRONTENDS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue