summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt')
-rw-r--r--share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt b/share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt
new file mode 100644
index 0000000..bac2419
--- /dev/null
+++ b/share/cmake-3.10/Help/command/FIND_XXX_ORDER.txt
@@ -0,0 +1,12 @@
+The default search order is designed to be most-specific to
+least-specific for common use cases.
+Projects may override the order by simply calling the command
+multiple times and using the ``NO_*`` options:
+
+.. parsed-literal::
+
+ |FIND_XXX| (|FIND_ARGS_XXX| PATHS paths... NO_DEFAULT_PATH)
+ |FIND_XXX| (|FIND_ARGS_XXX|)
+
+Once one of the calls succeeds the result variable will be set
+and stored in the cache so that no call will search again.