CMAKE_FIND_APPBUNDLE

From Get docs
Cmake/docs/3.21/variable/cmake find appbundle


CMAKE_FIND_APPBUNDLE

New in version 3.4.


This variable affects how find_* commands choose between macOS Application Bundles and unix-style package components.

On Darwin or systems supporting macOS Application Bundles, the CMAKE_FIND_APPBUNDLE variable can be set to empty or one of the following:

FIRST
Try to find application bundles before standard programs. This is the default on Darwin.
LAST
Try to find application bundles after standard programs.
ONLY
Only try to find application bundles.
NEVER
Never try to find application bundles.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_FIND_APPBUNDLE.html