mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-15088 Lighter version of Windows Zip distributions
Added forgotten code signing command.
This commit is contained in:
parent
09f8941a91
commit
4a026596f5
1 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue