From e222e924dc3c556a73cb3341e63c6642190bf602 Mon Sep 17 00:00:00 2001 From: Artyom Anokhov Date: Thu, 15 Feb 2024 14:06:13 +0100 Subject: [PATCH] Update npm.cmake: Exlude non-necessary components --- cmake/packaging/npm.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/packaging/npm.cmake b/cmake/packaging/npm.cmake index 9da86e89d1deb9..e3bfab8444227f 100644 --- a/cmake/packaging/npm.cmake +++ b/cmake/packaging/npm.cmake @@ -15,7 +15,9 @@ macro(ov_cpack_settings) # filter out some components, which are not needed to be wrapped to npm package if(NOT OV_CPACK_COMP_${UPPER_COMP}_EXCLUDE_ALL AND # python is not required for npm package - NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*") + NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" AND + NOT item MATCHES "openvino_extensions" AND + NOT item MATCHES "npu_internal") list(APPEND CPACK_COMPONENTS_ALL ${item}) endif() endforeach()