CMAKE_FIND_APPBUNDLE

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

On Darwin or systems supporting OS X 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–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.8/variable/CMAKE_FIND_APPBUNDLE.html