summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-29 13:18:06 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-29 13:20:42 (GMT)
commite5f5eeca2f632608cf4709cffef9d82f6f5be6f3 (patch)
tree17a6f581732c79732c82a1b682fb2e34443e692f /Help
parente66fe75792a2fbe9f3ffe237c748008906ae7116 (diff)
downloadCMake-e5f5eeca2f632608cf4709cffef9d82f6f5be6f3.zip
CMake-e5f5eeca2f632608cf4709cffef9d82f6f5be6f3.tar.gz
CMake-e5f5eeca2f632608cf4709cffef9d82f6f5be6f3.tar.bz2
file: Fix CONFIGURE output relative path
In commit a6fee09484 (file: Add CONFIGURE subcommand, 2020-03-06, v3.18.0-rc1~584^2) we accidentally treated relative path outputs with respect to the current working directory. Treat them with respect to the current binary directory instead. Fixes: #20885
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index bb560a9..5509502 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -508,8 +508,7 @@ The arguments are:
``OUTPUT <output-file>``
Specify the output file name to generate. A relative path is treated with
- respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`. See policy
- :policy:`CMP0070`.
+ respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`.
``<output-file>`` does not support generator expressions.
``CONTENT <content>``