Help: Fix typo in get_filename_component docs

trailing slahes -> trailing slashes
This commit is contained in:
Christopher Meng 2015-09-05 15:56:43 +08:00 committed by Brad King
parent 2a8813d62c
commit 8bfa34b78e
1 changed files with 1 additions and 1 deletions

View File

@ -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 NAME_WE = File name without directory or longest extension
PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11) 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 The longest file extension is always considered. If the optional
``CACHE`` argument is specified, the result variable is added to the ``CACHE`` argument is specified, the result variable is added to the
cache. cache.