summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJuan Ramos <juan.ramos@kitware.com>2024-04-26 15:47:29 (GMT)
committerJuan Ramos <juan.ramos@kitware.com>2024-04-26 15:49:07 (GMT)
commit769866163ac931fc7f3b24c8cb4665f930091fd2 (patch)
tree0ab40de478a5f4be4c61da897630c0e95158d40d /Help
parenta4b7a13c23479a2893027eae18c5ac90f6cca8f7 (diff)
downloadCMake-769866163ac931fc7f3b24c8cb4665f930091fd2.zip
CMake-769866163ac931fc7f3b24c8cb4665f930091fd2.tar.gz
CMake-769866163ac931fc7f3b24c8cb4665f930091fd2.tar.bz2
Help: Fix cmake_path example
Fixes: #25938
Diffstat (limited to 'Help')
-rw-r--r--Help/command/cmake_path.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/cmake_path.rst b/Help/command/cmake_path.rst
index 4e6bedb..39b7b99 100644
--- a/Help/command/cmake_path.rst
+++ b/Help/command/cmake_path.rst
@@ -600,7 +600,7 @@ For example:
# filename is now already empty, the following removes nothing
cmake_path(REMOVE_FILENAME path)
- message("Second path is \"${result}\"")
+ message("Second path is \"${path}\"")
Output::