build: disable gpg signatures by default
Add the GPG_SIGNATURES cmake option to control creating gpg clearsign signatures for the translations and exe zips for UPSTREAM_RELEASE, defaulting to OFF. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
82eda48e8f
commit
df89beb256
|
@ -162,3 +162,5 @@ endif()
|
|||
if(TRANSLATIONS_ONLY AND (ENABLE_SDL OR ENABLE_WX))
|
||||
message(FATAL_ERROR "The SDL and wxWidgets ports can't be built when TRANSLATIONS_ONLY is enabled")
|
||||
endif()
|
||||
|
||||
option(GPG_SIGNATURES "Create GPG signatures for release files" OFF)
|
||||
|
|
|
@ -793,7 +793,7 @@ if(UPSTREAM_RELEASE AND WIN32)
|
|||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
|
||||
if(GPG_KEYS)
|
||||
if(GPG_SIGNATURES AND GPG_KEYS)
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_BINARY_DIR}/translations.zip.asc
|
||||
COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_BINARY_DIR}/translations.zip.asc
|
||||
|
|
Loading…
Reference in New Issue