summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-09 15:30:45 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-09 15:30:45 (GMT)
commit05d22864d2bd685c04e05bd395b0ed36ced8b8e3 (patch)
treea7ad9de045420d64a17fd5e01667f8eee39d0d75 /Help
parent6bdb62cf0f8464304b5c6d868b85de423953c1d9 (diff)
parent8bfa34b78e30a2fbc49e7eb67dde7b412ead9305 (diff)
downloadCMake-05d22864d2bd685c04e05bd395b0ed36ced8b8e3.zip
CMake-05d22864d2bd685c04e05bd395b0ed36ced8b8e3.tar.gz
CMake-05d22864d2bd685c04e05bd395b0ed36ced8b8e3.tar.bz2
Merge topic 'doc-get_filename_component-typo'
8bfa34b7 Help: Fix typo in get_filename_component docs
Diffstat (limited to 'Help')
-rw-r--r--Help/command/get_filename_component.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst
index 82f9120..14c8cf2 100644
--- a/Help/command/get_filename_component.rst
+++ b/Help/command/get_filename_component.rst
@@ -19,7 +19,7 @@ Set ``<VAR>`` to a component of ``<FileName>``, where ``<COMP>`` is one of:
NAME_WE = File name without directory or longest extension
PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11)
-Paths are returned with forward slashes and have no trailing slahes.
+Paths are returned with forward slashes and have no trailing slashes.
The longest file extension is always considered. If the optional
``CACHE`` argument is specified, the result variable is added to the
cache.