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.
This commit is contained in:
@@ -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}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user