Skip to content
Permalink
Browse files
MDEV-15088 Lighter version of Windows Zip distributions
Added forgotten code signing command.
  • Loading branch information
vaintroub committed Sep 18, 2018
1 parent 09f8941 commit 4a02659
Showing 1 changed file 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}

0 comments on commit 4a02659

Please sign in to comment.