CMAKE_FIND_FRAMEWORK — CMake 3.10.2 Documentation

# CMAKE_FIND_FRAMEWORK

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

On Darwin or systems supporting OS X Frameworks, the `CMAKE_FIND_FRAMEWORK` variable can be set to empty or one of the following:

`FIRST`
  Try to find frameworks before standard libraries or headers. This is the default on Darwin.
`LAST`
  Try to find frameworks after standard libraries or headers.
`ONLY`
  Only try to find frameworks.
`NEVER`
  Never try to find frameworks.