summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-05-17 10:02:28 +0100
committerPavel Labath <labath@google.com>2016-05-18 16:41:34 +0000
commit2558e7154fe7da69d90c6f99632a84b624a90a9a (patch)
tree01b6efc8719b523e315cc868d31f203602f385f7 /share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt
parent091caafda44f7fe52a94387b2eafcf204ea909d3 (diff)
downloadlinux-x86-2558e7154fe7da69d90c6f99632a84b624a90a9a.tar.gz
source: go/ab/2846898 Change-Id: I762a07bd4ff86251b349d36ae9359256204cd313
Diffstat (limited to 'share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt')
-rw-r--r--share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt b/share/cmake-3.5/Help/command/FIND_XXX_ORDER.txt
new file mode 100644
index 0000000..bac2419
--- /dev/null
+++ b/share/cmake-3.5/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.