diff options
author | scivision <scivision@users.noreply.github.com> | 2024-03-22 21:17:18 (GMT) |
---|---|---|
committer | scivision <scivision@users.noreply.github.com> | 2024-03-22 21:17:31 (GMT) |
commit | be6763f34be4fb976c582f974d81e3fea62446f5 (patch) | |
tree | 3879ffdc48ede3a47167114c3b09f9862c33ea29 /Help/manual | |
parent | cff8aefc6aa5fcf5c659b2c40027c86618426005 (diff) | |
download | CMake-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.txt | 4 |
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> |