build: fix codesigning Windows bins with signtool
Pass `/fd certHash /td certHash` to signtool as they are required arguments. signtool comes with Visual Studio and now works and we don't need to require osslsigncode anymore. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
1e1ec2e330
commit
4104a3d179
|
@ -775,7 +775,7 @@ if(UPSTREAM_RELEASE AND WIN32)
|
|||
TARGET visualboyadvance-m
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy visualboyadvance-m.exe visualboyadvance-m-unsigned.exe
|
||||
COMMAND ${SIGNTOOL_PROGRAM} sign /f ${cert} /p "vbam3!13" /tr http://timestamp.digicert.com /du https://github.com/visualboyadvance-m/visualboyadvance-m /a visualboyadvance-m.exe
|
||||
COMMAND ${SIGNTOOL_PROGRAM} sign /f ${cert} /fd certHash /td certHash /p "vbam3!13" /tr http://timestamp.digicert.com /du https://github.com/visualboyadvance-m/visualboyadvance-m /a visualboyadvance-m.exe
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue