diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-04-20 16:46:26 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2021-04-21 22:08:47 (GMT) |
commit | e4b793c614f2a499d4d235ec2267ad6bff56a697 (patch) | |
tree | 1a1d878ab438d0983bbf4905473cf916b96c6bb2 /Help/command/cmake_path.rst | |
parent | 63ffe210365ce2d1dd67fcabcc67e20913f320a8 (diff) | |
download | CMake-e4b793c614f2a499d4d235ec2267ad6bff56a697.zip CMake-e4b793c614f2a499d4d235ec2267ad6bff56a697.tar.gz CMake-e4b793c614f2a499d4d235ec2267ad6bff56a697.tar.bz2 |
file(REAL_PATH): add option EXPAND_TILDE
This option enables the replacement of any leading tilde with the path
to the user's home directory.
Diffstat (limited to 'Help/command/cmake_path.rst')
-rw-r--r-- | Help/command/cmake_path.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/cmake_path.rst b/Help/command/cmake_path.rst index a8999f3..193180d 100644 --- a/Help/command/cmake_path.rst +++ b/Help/command/cmake_path.rst @@ -687,7 +687,8 @@ When the ``NORMALIZE`` option is specified, the path is :ref:`normalized <Normalization>` after the path computation. Because ``cmake_path()`` does not access the filesystem, symbolic links are -not resolved. To compute a real path with symbolic links resolved, use the +not resolved and any leading tilde is not expanded. To compute a real path +with symbolic links resolved and leading tildes expanded, use the :command:`file(REAL_PATH)` command instead. Native Conversion |