Skip to content

Commit

Permalink
Start #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Jun 23, 2021
1 parent 2d8c3d4 commit 5e1ad3b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions cmake/developer_package/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 5e1ad3b

Please sign in to comment.