summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-09-18 21:30:03 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-09-18 21:30:03 +0100
commit4a026596f53f59619941c0e3ce5d36a056b6bd2e (patch)
tree1789cbff7c45d28b3eafb46c9d34efd192c8fadb /win
parent09f8941a91547ca9e131dc01196a8302222667a5 (diff)
downloadmariadb-git-4a026596f53f59619941c0e3ce5d36a056b6bd2e.tar.gz
MDEV-15088 Lighter version of Windows Zip distributions
Added forgotten code signing command.
Diffstat (limited to 'win')
-rw-r--r--win/packaging/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/packaging/CMakeLists.txt b/win/packaging/CMakeLists.txt
index b3ccaaa308f..4bd34c86a40 100644
--- a/win/packaging/CMakeLists.txt
+++ b/win/packaging/CMakeLists.txt
@@ -207,8 +207,13 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio")
SET(CPACK_CONFIG_PARAM -C $(Configuration))
ENDIF()
+IF(SIGNCODE)
+ SET(SIGN_COMMAND COMMAND ${CMAKE_COMMAND} -P ${PROJECT_BINARY_DIR}/sign.cmake)
+ENDIF()
+
ADD_CUSTOM_TARGET(
win_package
+ ${SIGN_COMMAND}
COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipConfig.cmake
COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}