OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
fix custom tbb build issue (#26760)
Fang Xu067e361a4258
diff --git a/src/cmake/install_tbb.cmake b/src/cmake/install_tbb.cmakeindex b0d21910912..f231dcbd3f1 100644--- a/src/cmake/install_tbb.cmake+++ b/src/cmake/install_tbb.cmake@@ -183,16 +183,12 @@ if(THREADING MATCHES "^(TBB|TBB_AUTO)$" ANDendif()if(tbb_libs_dir STREQUAL dir)- file(GLOB _tbb_libs ${TBBROOT}/${tbb_libs_dir}/*)- foreach(_tbb_lib IN LISTS _tbb_libs)- if(_tbb_lib MATCHES ".*${CMAKE_SHARED_LIBRARY_SUFFIX}.*")- # resolve absolute path to avoid issues with installation- get_filename_component(_tbb_lib "${_tbb_lib}" REALPATH)- install(PROGRAMS "${_tbb_lib}"- DESTINATION "${OV_TBBROOT_INSTALL}/${dir}"- COMPONENT ${tbb_component})- endif()- endforeach()+ install(DIRECTORY "${TBBROOT}/${dir}/"+ DESTINATION "${OV_TBBROOT_INSTALL}/${dir}"+ COMPONENT ${tbb_component}+ FILES_MATCHING+ PATTERN "*${CMAKE_SHARED_LIBRARY_SUFFIX}*"+ ${exclude_pattern})else()install(DIRECTORY "${TBBROOT}/${dir}/"DESTINATION "${OV_TBBROOT_INSTALL}/${dir}"