mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
Help: Fix typo in get_filename_component docs
trailing slahes -> trailing slashes
This commit is contained in:
committed by
Brad King
parent
2a8813d62c
commit
8bfa34b78e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user