cmake/Help/variable/CMAKE_FIND_FRAMEWORK.rst

25 lines
576 B
ReStructuredText
Raw Normal View History

2015-11-17 17:22:37 +01:00
CMAKE_FIND_FRAMEWORK
--------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.4
2015-11-17 17:22:37 +01:00
This variable affects how ``find_*`` commands choose between
2018-10-28 12:09:07 +01:00
macOS Frameworks and unix-style package components.
2015-11-17 17:22:37 +01:00
2018-10-28 12:09:07 +01:00
On Darwin or systems supporting macOS Frameworks, the
2015-11-17 17:22:37 +01:00
``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.