cmake(build): skip signing for source packaging

This commit is contained in:
Oleg Shparber 2023-09-11 01:17:10 -04:00
parent 04fafa21e6
commit eadc5fcd1e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
if(CPACK_SOURCE_INSTALLED_DIRECTORIES)
message(DEBUG "Skipping package signing for source package generator.")
return()
endif()
if(NOT CPACK_GENERATOR STREQUAL "WIX")
message(DEBUG "Skipping package signing for ${CPACK_GENERATOR} generator.")
return()

View File

@ -1,3 +1,8 @@
if(CPACK_SOURCE_INSTALLED_DIRECTORIES)
message(DEBUG "Skipping package signing for source package generator.")
return()
endif()
# TODO: Automatically generate list.
set(_file_list
"zeal.exe"