CMAKE_MACOSX_BUNDLE
From Get docs
Cmake/docs/3.21/variable/cmake macosx bundle
CMAKE_MACOSX_BUNDLE
Default value for MACOSX_BUNDLE of targets.
This variable is used to initialize the MACOSX_BUNDLE property on all the targets. See that target property for additional information.
This variable is set to ON
by default if CMAKE_SYSTEM_NAME equals to iOS, tvOS or watchOS.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_MACOSX_BUNDLE.html