Windows/NSIS installer: use signtool.exe found by CMake

This commit is contained in:
Floris Bos 2023-05-21 17:25:04 +02:00
parent bb8b097c7d
commit 64d271b092
2 changed files with 3 additions and 2 deletions

View file

@ -228,6 +228,7 @@ if (WIN32)
if (NOT SIGNTOOL)
message(FATAL_ERROR "Unable to locate signtool.exe used for code signing")
endif()
add_definitions(-DSIGNTOOL="${SIGNTOOL}")
add_custom_command(TARGET ${PROJECT_NAME}
POST_BUILD