summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-16 15:39:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-16 15:39:28 (GMT)
commitbb290fc7a455d014429df452da0c05e83d4f9f34 (patch)
treefd1bf926683be95da21c449d6597c1a99046171b /Help/variable
parent16f213efa3786ecf8ebe15355f17890b54e56ac5 (diff)
parentd5c3e4ac326328dd4ca48b12b27b11ea19d87363 (diff)
downloadCMake-bb290fc7a455d014429df452da0c05e83d4f9f34.zip
CMake-bb290fc7a455d014429df452da0c05e83d4f9f34.tar.gz
CMake-bb290fc7a455d014429df452da0c05e83d4f9f34.tar.bz2
Merge topic 'add_toolchain_cmake_option'
d5c3e4ac32 cmake: add support for --toolchain command argument 13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5991
Diffstat (limited to 'Help/variable')
-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.