cmake: Check UPDATE_APPCAST before TAG_RELEASE.

Check for UPDATE_APPCAST being set before checking for TAG_RELEASE, as
the UPDATE_APPCAST script may be run in the same build directory where
TAG_RELEASE was just run.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2020-02-08 23:22:31 +00:00
parent 9475474ee6
commit 951e8e0ebe
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 4 additions and 4 deletions

View File

@ -17,14 +17,14 @@ endif()
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
if(TAG_RELEASE)
include(MakeReleaseCommitAndTag)
endif()
if(UPDATE_APPCAST)
include(UpdateAppcast)
endif()
if(TAG_RELEASE)
include(MakeReleaseCommitAndTag)
endif()
set(VCPKG_DEPS zlib libpng SDL2 SFML gettext wxWidgets)
# appveyor job goes over time limit if building ffmpeg during initial cache