summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-24 12:43:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-07-24 12:43:19 (GMT)
commit6194193a8a0a476539590aabbb27094d1aff136a (patch)
tree7b56eea1985a37978b58b64c35c53bf4c682d571 /Help/command
parente61a51b5a247bec564cb48184b499d17386c0470 (diff)
parent6b5f2dbbfe453f9bafe46ee420e657735ff16fb0 (diff)
downloadCMake-6194193a8a0a476539590aabbb27094d1aff136a.zip
CMake-6194193a8a0a476539590aabbb27094d1aff136a.tar.gz
CMake-6194193a8a0a476539590aabbb27094d1aff136a.tar.bz2
Merge topic 'file-REAL_PATH-relative'
6b5f2dbbfe file(REAL_PATH): resolve symlinks before '..' components Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8605
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/file.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 30a7f4d..f9d1a79 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -981,6 +981,11 @@ Path Conversion
if ``USERPROFILE`` is not defined. On all other platforms, only ``HOME``
is used.
+ .. versionchanged:: 3.28
+
+ All symlinks are resolved before collapsing ``../`` components.
+ See policy :policy:`CMP0152`.
+
.. signature::
file(RELATIVE_PATH <variable> <directory> <file>)