From 789307b02fe37e0af1a9016d11470a001b84bf39 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 17 Apr 2021 19:41:33 +1000 Subject: Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform --- Help/command/file.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ```` 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 ```` to be sure it is treated as a single argument to this command. -- cgit v0.12