Commit 90b5afaa authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Sign MSI if code signing is requested.

Remove SIGNCODE_ENABLED variable from create_msi.cmake.in,
it was already removed from other places.
parent b20efbb1
......@@ -20,7 +20,6 @@ SET(CPACK_WIX_PACKAGE_BASE_NAME "@CPACK_WIX_PACKAGE_BASE_NAME@")
SET(SIGNCODE "@SIGNCODE@")
SET(SIGNTOOL_EXECUTABLE "@SIGNTOOL_EXECUTABLE@")
SET(SIGNTOOL_PARAMETERS "@SIGNTOOL_PARAMETERS@")
SET(SIGNCODE_ENABLED "@SIGNCODE_ENABLED@")
SET(CMAKE_FULL_VER
"@CMAKE_MAJOR_VERSION@.@CMAKE_MINOR_VERSION@.@CMAKE_PATCH_VERSION@")
SET(EXTRA_WIX_PREPROCESSOR_FLAGS "@EXTRA_WIX_PREPROCESSOR_FLAGS@")
......@@ -400,7 +399,7 @@ EXECUTE_PROCESS(
${EXTRA_LIGHT_ARGS}
)
IF(SIGNCODE AND SIGNCODE_ENABLED)
IF(SIGNCODE)
EXECUTE_PROCESS(
COMMAND ${SIGNTOOL_EXECUTABLE} sign ${SIGNTOOL_PARAMETERS}
${CPACK_PACKAGE_FILE_NAME}.msi
......
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