diff --git a/cmake/Options.cmake b/cmake/Options.cmake index 33b78fd5..a8fd5c73 100644 --- a/cmake/Options.cmake +++ b/cmake/Options.cmake @@ -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) diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index b20cec92..1fe1bd5c 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -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