Commit 4a026596 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-15088 Lighter version of Windows Zip distributions

Added forgotten code signing command.
parent 09f8941a
...@@ -207,8 +207,13 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio") ...@@ -207,8 +207,13 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio")
SET(CPACK_CONFIG_PARAM -C $(Configuration)) SET(CPACK_CONFIG_PARAM -C $(Configuration))
ENDIF() ENDIF()
IF(SIGNCODE)
SET(SIGN_COMMAND COMMAND ${CMAKE_COMMAND} -P ${PROJECT_BINARY_DIR}/sign.cmake)
ENDIF()
ADD_CUSTOM_TARGET( ADD_CUSTOM_TARGET(
win_package 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}/CPackZipConfig.cmake
COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake COMMAND cpack ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake
WORKING_DIRECTORY ${CMAKE_BINARY_DIR} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment