summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-04-15 14:12:15 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-04-15 14:12:34 (GMT)
commit13838bbb36dbfeb36243d661378732672477ac8a (patch)
tree72ef5d3d7eecb2d9d3c830ad7d262465d4a8e3f4 /Help/variable/CMAKE_TOOLCHAIN_FILE.rst
parent8ddbb6851dcbafe2be65549b05d991788179f549 (diff)
downloadCMake-13838bbb36dbfeb36243d661378732672477ac8a.zip
CMake-13838bbb36dbfeb36243d661378732672477ac8a.tar.gz
CMake-13838bbb36dbfeb36243d661378732672477ac8a.tar.bz2
CMAKE_TOOLCHAIN_FILE: Document relative path behavior
Diffstat (limited to 'Help/variable/CMAKE_TOOLCHAIN_FILE.rst')
-rw-r--r--Help/variable/CMAKE_TOOLCHAIN_FILE.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_TOOLCHAIN_FILE.rst b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
index 168ee74..423da9c 100644
--- a/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
+++ b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
@@ -7,3 +7,6 @@ This variable is specified on the command line when cross-compiling with CMake.
It is the path to a file which is read early in the CMake run and which
specifies locations for compilers and toolchain utilities, and other target
platform and compiler related information.
+
+Relative paths are allowed and are interpreted first as relative to the
+build directory, and if not found, relative to the soruce directory.