mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
add a status message for executable signing
This commit is contained in:
parent
798d234d63
commit
e50e28468c
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ macro(optional_win_executable_signing)
|
||||||
/td SHA256 \${CMAKE_INSTALL_PREFIX}/${EXECUTABLE_NAME}"
|
/td SHA256 \${CMAKE_INSTALL_PREFIX}/${EXECUTABLE_NAME}"
|
||||||
)
|
)
|
||||||
|
|
||||||
install(CODE "execute_process(COMMAND ${SIGN_COMMAND})" COMPONENT ${EXECUTABLE_COMPONENT})
|
install(CODE "\
|
||||||
|
message(STATUS \"Signing ${EXECUTABLE_NAME} with signtool.\")
|
||||||
|
execute_process(COMMAND ${SIGN_COMMAND})
|
||||||
|
"
|
||||||
|
COMPONENT ${EXECUTABLE_COMPONENT}
|
||||||
|
)
|
||||||
else ()
|
else ()
|
||||||
message(FATAL_ERROR "HF_PFX_PASSPHRASE must be set for executables to be signed.")
|
message(FATAL_ERROR "HF_PFX_PASSPHRASE must be set for executables to be signed.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue