mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
bd044bef27
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
18 lines
589 B
CMake
18 lines
589 B
CMake
function(sign_target_windows tgt)
|
|
if(WIN32 AND GPT4ALL_SIGN_INSTALL)
|
|
add_custom_command(TARGET ${tgt}
|
|
POST_BUILD
|
|
COMMAND AzureSignTool.exe sign
|
|
-du "https://www.nomic.ai/gpt4all"
|
|
-kvu https://gpt4all.vault.azure.net
|
|
-kvi "$Env{AZSignGUID}"
|
|
-kvs "$Env{AZSignPWD}"
|
|
-kvc "$Env{AZSignCertName}"
|
|
-kvt "$Env{AZSignTID}"
|
|
-tr http://timestamp.digicert.com
|
|
-v
|
|
$<TARGET_FILE:${tgt}>
|
|
)
|
|
endif()
|
|
endfunction()
|