summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2024-03-22 21:17:18 (GMT)
committerscivision <scivision@users.noreply.github.com>2024-03-22 21:17:31 (GMT)
commitbe6763f34be4fb976c582f974d81e3fea62446f5 (patch)
tree3879ffdc48ede3a47167114c3b09f9862c33ea29 /Help/manual
parentcff8aefc6aa5fcf5c659b2c40027c86618426005 (diff)
downloadCMake-be6763f34be4fb976c582f974d81e3fea62446f5.zip
CMake-be6763f34be4fb976c582f974d81e3fea62446f5.tar.gz
CMake-be6763f34be4fb976c582f974d81e3fea62446f5.tar.bz2
Help: cmake(1) --toolchain path relative
other cmake(1) options are relative to cwd. It is surprising enough that --toolchain is relative to -B or -S that it's good to call it out here too.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/OPTIONS_BUILD.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt
index fb1e7d4..b8ea1ce 100644
--- a/Help/manual/OPTIONS_BUILD.txt
+++ b/Help/manual/OPTIONS_BUILD.txt
@@ -108,7 +108,9 @@
.. versionadded:: 3.21
Specify the cross compiling toolchain file, equivalent to setting
- :variable:`CMAKE_TOOLCHAIN_FILE` variable.
+ :variable:`CMAKE_TOOLCHAIN_FILE` variable. Relative paths are interpreted as
+ relative to the build directory, and if not found, relative to the source
+ directory.
.. option:: --install-prefix <directory>