cmake: Zip suffix fix for 60f05ced
.
Fix problem with the ZIP_SUFFIX option, which causes zip files to have a suffix of "OFF" if the option is not set. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
166cf446f7
commit
b21880ea15
|
@ -1017,7 +1017,11 @@ if(GPG_PROGRAM)
|
|||
)
|
||||
endif()
|
||||
|
||||
option(ZIP_SUFFIX [=[suffix for release zip files, e.g. "-somebranch".zip]=] "")
|
||||
option(ZIP_SUFFIX [=[suffix for release zip files, e.g. "-somebranch".zip]=] OFF)
|
||||
|
||||
if(NOT ZIP_SUFFIX)
|
||||
set(ZIP_SUFFIX "")
|
||||
endif()
|
||||
|
||||
if(UPSTREAM_RELEASE AND WIN32)
|
||||
set(home "$ENV{HOME}")
|
||||
|
|
Loading…
Reference in New Issue