summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-04-17 09:41:33 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-04-17 09:41:53 (GMT)
commit789307b02fe37e0af1a9016d11470a001b84bf39 (patch)
treeccb1258df600fd52d57789142ef500f27edd9da2 /Help
parentb4a29a8d42e584e43c3c93e627cb22da9f9e0c49 (diff)
downloadCMake-789307b02fe37e0af1a9016d11470a001b84bf39.zip
CMake-789307b02fe37e0af1a9016d11470a001b84bf39.tar.gz
CMake-789307b02fe37e0af1a9016d11470a001b84bf39.tar.bz2
Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 24e43e9..31de610 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -922,7 +922,8 @@ system search path like ``$ENV{PATH}``. A search path will be converted
to a cmake-style list separated by ``;`` characters.
The ``TO_NATIVE_PATH`` mode converts a cmake-style ``<path>`` into a native
-path with platform-specific slashes (``\`` on Windows and ``/`` elsewhere).
+path with platform-specific slashes (``\`` on Windows hosts and ``/``
+elsewhere).
Always use double quotes around the ``<path>`` to be sure it is treated
as a single argument to this command.