summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_FIND_FRAMEWORK.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 19:36:31 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-08 19:45:59 (GMT)
commit8c64c4783dde25d84b1549945b95d192c1b7fd68 (patch)
tree0dacd8cfd71a1e08280c89fe963851d8de3b3b98 /Help/variable/CMAKE_FIND_FRAMEWORK.rst
parent25b4483ef8d6f6f074f05cf99e0282abf22d8939 (diff)
downloadCMake-8c64c4783dde25d84b1549945b95d192c1b7fd68.zip
CMake-8c64c4783dde25d84b1549945b95d192c1b7fd68.tar.gz
CMake-8c64c4783dde25d84b1549945b95d192c1b7fd68.tar.bz2
Help: Document CMAKE_FIND_APPBUNDLE and CMAKE_FIND_FRAMEWORK
Add dedicated documents for these and link to them instead of duplicating their documentation in every find command.
Diffstat (limited to 'Help/variable/CMAKE_FIND_FRAMEWORK.rst')
-rw-r--r--Help/variable/CMAKE_FIND_FRAMEWORK.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_FIND_FRAMEWORK.rst b/Help/variable/CMAKE_FIND_FRAMEWORK.rst
new file mode 100644
index 0000000..790694a
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_FRAMEWORK.rst
@@ -0,0 +1,22 @@
+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.