Fixes for multi-config generators (#16097)
This commit is contained in:
1 parent
9c4c559909
commit
e1fbb7d768
15 files changed
+115
-58
No files matched your search
@@ -194,7 +194,7 @@ macro(ie_cpack)
|
||||
set(CPACK_STRIP_FILES ON)
|
||||
endif()
|
||||
|
||||
# TODO: replace with openvino
|
||||
# TODO: replace with openvino and handle multi-config generators case
|
||||
if(WIN32)
|
||||
set(CPACK_PACKAGE_NAME inference-engine_${CMAKE_BUILD_TYPE})
|
||||
else()
|
||||
@@ -202,6 +202,7 @@ macro(ie_cpack)
|
||||
endif()
|
||||
|
||||
set(CPACK_PACKAGE_VERSION "${OpenVINO_VERSION}")
|
||||
# build version can be empty in case we are running cmake out of git repository
|
||||
if(NOT OpenVINO_VERSION_BUILD STREQUAL "000")
|
||||
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.${OpenVINO_VERSION_BUILD}")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user