diff options
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/get_filename_component.rst | 2 |
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. |