CMAKE_FIND_FRAMEWORKΒΆ

New 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:

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.