From be6763f34be4fb976c582f974d81e3fea62446f5 Mon Sep 17 00:00:00 2001 From: scivision Date: Fri, 22 Mar 2024 17:17:18 -0400 Subject: 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. --- Help/manual/OPTIONS_BUILD.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v0.12