1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

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

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}")