From bac7802c1a6ea98578a4b492d12d9505517ddfa4 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Thu, 23 Jan 2025 15:21:19 +0100 Subject: [PATCH] install shared libs --- src/CMakeLists.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 97fdb0cb..0d78c01f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -322,12 +322,14 @@ install(FILES "${openvino_tokenizers_SOURCE_DIR}/LICENSE" "${openvino_tokenizers_SOURCE_DIR}/README.md" DESTINATION "docs/openvino_tokenizers" COMPONENT openvino_tokenizers_docs) - -install( - DIRECTORY ${ICU_SHARED_LIB_DIR} - DESTINATION ${OPENVINO_TOKENIZERS_INSTALL_BINDIR} - # FILES_MATCHING PATTERN "${SHARED_LIB_EXT}" -) + +if(EXISTS ${ICU_SHARED_LIB_DIR}) + install( + DIRECTORY ${ICU_SHARED_LIB_DIR} + DESTINATION ${OPENVINO_TOKENIZERS_INSTALL_BINDIR} + ) +endif() + # # Cpack configuration #