From 5e1ad3ba1dd1720094c7608b95305d30bc95cf8c Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Wed, 23 Jun 2021 13:29:04 +0300 Subject: [PATCH] Start #1 --- cmake/developer_package/packaging.cmake | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/cmake/developer_package/packaging.cmake b/cmake/developer_package/packaging.cmake index 2b5e945b17af54..3189e75b295201 100644 --- a/cmake/developer_package/packaging.cmake +++ b/cmake/developer_package/packaging.cmake @@ -45,11 +45,23 @@ macro(ie_cpack) else() set(CPACK_PACKAGE_NAME inference-engine) endif() + + foreach(ver IN LISTS MAJOR MINOR PATCH) + if(DEFINED IE_VERSION_${ver}) + set(CPACK_PACKAGE_VERSION_${ver} ${IE_VERSION_${ver}}) + endif() + endforeach() + + set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OpenVINO toolkit") + set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED OFF) set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) - set(CPACK_ARCHIVE_COMPONENT_INSTALL ON) - set(CPACK_PACKAGE_VENDOR "Intel") + # OFF - single archive, OFF - multiple packages per component + # set(CPACK_ARCHIVE_COMPONENT_INSTALL ON) + set(CPACK_PACKAGE_VENDOR "Intel Corporation") + set(CPACK_VERBATIM_VARIABLES ON) set(CPACK_COMPONENTS_ALL ${ARGN}) set(CPACK_STRIP_FILES ON) + set(CPACK_THREADS 8) if(OS_FOLDER) set(CPACK_SYSTEM_NAME "${OS_FOLDER}")