summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-01-15 10:46:55 +0000
committerKitware Robot <kwrobot@kitware.com>2021-01-15 05:47:02 -0500
commit50b8dc8735e836658755e6dc3dc2a9f00e1006e1 (patch)
tree73c5e6ffc7b0383e539d034d6e7fca56fc9e21d6 /Help
parente6b6e457a0e8d33402bc7d64d85b20a8ca0546a0 (diff)
parent76f0bcdfb6e04f1f6089ea693d69b642bbf26e82 (diff)
downloadcmake-50b8dc8735e836658755e6dc3dc2a9f00e1006e1.tar.gz
Merge topic 'cmake_path-stabilization'
76f0bcdfb6 cmake_path: various updates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5695
Diffstat (limited to 'Help')
-rw-r--r--Help/command/cmake_path.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/cmake_path.rst b/Help/command/cmake_path.rst
index 2d37ae0ac3..3c9653e47b 100644
--- a/Help/command/cmake_path.rst
+++ b/Help/command/cmake_path.rst
@@ -156,7 +156,7 @@ Synopsis
cmake_path(`IS_PREFIX`_ <path-var> <input> [NORMALIZE] <out-var>)
`Hashing`_
- cmake_path(`HASH`_ <path-var> [NORMALIZE] <out-var>)
+ cmake_path(`HASH`_ <path-var> <out-var>)
Decomposition
^^^^^^^^^^^^^
@@ -807,11 +807,10 @@ Hashing
.. code-block:: cmake
- cmake_path(HASH <path-var> [NORMALIZE] <out-var>)
+ cmake_path(HASH <path-var> <out-var>)
Compute hash value of ``<path-var>`` such that if for two paths (``p1`` and
``p2``) are equal (:ref:`COMPARE ... EQUAL <COMPARE>`) then hash value of p1 is
equal to hash value of p2.
-When ``NORMALIZE`` option is specified, the paths are :ref:`normalized
-<NORMAL_PATH>` before the check.
+Path is always :ref:`normalized <NORMAL_PATH>` before the hash is computed.