From bd21ee0402afe4a7d69b17946be59f6443effc81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Fauberteau?= Date: Fri, 14 Jul 2023 23:15:08 +0200 Subject: [PATCH] Fix invalid OPENRCT2_BRANCH test The test 'if (${OPENRCT2_BRANCH} EQUAL master)' fails if OPENRCT2_BRANCH is not defined. --- src/openrct2-ui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/CMakeLists.txt b/src/openrct2-ui/CMakeLists.txt index 3e145f5053..34786847c2 100644 --- a/src/openrct2-ui/CMakeLists.txt +++ b/src/openrct2-ui/CMakeLists.txt @@ -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}")