diff --git a/src/common/snippets/CMakeLists.txt b/src/common/snippets/CMakeLists.txt index 962d939c563..c2a5fbdc6c4 100644 --- a/src/common/snippets/CMakeLists.txt +++ b/src/common/snippets/CMakeLists.txt @@ -17,7 +17,7 @@ source_group("include" FILES ${PUBLIC_HEADERS}) # Create static library -add_library(${TARGET_NAME} STATIC EXCLUDE_FROM_ALL +add_library(${TARGET_NAME} STATIC ${LIBRARY_SRC} ${PUBLIC_HEADERS}) @@ -45,3 +45,5 @@ set_target_properties(${TARGET_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION_REL # install ov_install_static_lib(${TARGET_NAME} ${OV_CPACK_COMP_CORE}) + +openvino_developer_export_targets(COMPONENT ${OV_CPACK_COMP_CORE} TARGETS ${TARGET_NAME}) diff --git a/src/tests/ngraph_helpers/snippets_ngraph_functions/CMakeLists.txt b/src/tests/ngraph_helpers/snippets_ngraph_functions/CMakeLists.txt index a53b1776d7b..41abe4fd2f7 100644 --- a/src/tests/ngraph_helpers/snippets_ngraph_functions/CMakeLists.txt +++ b/src/tests/ngraph_helpers/snippets_ngraph_functions/CMakeLists.txt @@ -34,4 +34,3 @@ ie_faster_build(${TARGET_NAME} UNITY PCH PRIVATE "src/precomp.hpp" ) -openvino_developer_export_targets(COMPONENT tests TARGETS inference_engine_snippets)