Fix invalid OPENRCT2_BRANCH test

The test 'if (${OPENRCT2_BRANCH} EQUAL master)' fails if
OPENRCT2_BRANCH is not defined.
This commit is contained in:
Frédéric Fauberteau 2023-07-14 23:15:08 +02:00
parent a7881a5046
commit bd21ee0402
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ if(MACOS_BUNDLE)
endif()
if(${OPENRCT2_BRANCH} EQUAL master)
if(OPENRCT2_BRANCH EQUAL master)
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${OPENRCT2_VERSION_TAG}")
else()
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${OPENRCT2_VERSION_TAG} ${OPENRCT2_BRANCH}")