mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user