CMAKE_FIND_FRAMEWORKΒΆ
Added in version 3.4.
This variable affects how find_* commands choose between
macOS Frameworks and unix-style package components.
On Darwin or systems supporting macOS Frameworks, the
CMAKE_FIND_FRAMEWORK variable can be set to empty or
one of the following:
FIRSTTry to find frameworks before standard libraries or headers. This is the default on Darwin.
LASTTry to find frameworks after standard libraries or headers.
ONLYOnly try to find frameworks.
NEVERNever try to find frameworks.