From b7f2e4d423a47ecc596a3e8a2f79ffb172f2a51f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Aug 2021 16:29:37 +0200 Subject: [PATCH] Fix apparent typo in MACOSX_BUNDLE_BUNDLE_VERSION variable name The documented name of the bundle version variable has BUNDLE twice, see https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.html and samples/Info.plist.in uses this variable, but we set MACOSX_BUNDLE_VERSION instead, which seems wrong, so use the apparently correct variable name instead. --- build/cmake/functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake index 01adf75a87..52fefbd5c3 100644 --- a/build/cmake/functions.cmake +++ b/build/cmake/functions.cmake @@ -876,7 +876,7 @@ function(wx_add name group) MACOSX_BUNDLE_ICON_FILE wxmac.icns MACOSX_BUNDLE_LONG_VERSION_STRING "${wxVERSION}" MACOSX_BUNDLE_SHORT_VERSION_STRING "${wxVERSION}" - MACOSX_BUNDLE_VERSION "${wxVERSION}" + MACOSX_BUNDLE_BUNDLE_VERSION "${wxVERSION}" MACOSX_BUNDLE_COPYRIGHT "${wxCOPYRIGHT}" MACOSX_BUNDLE_GUI_IDENTIFIER "org.wxwidgets.${target_name}" )