summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-28 15:56:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-28 15:56:41 (GMT)
commit571205fb6b661e33937637133157445fbbe3f510 (patch)
tree6ce45fb1d4cc2711e9f1e2a1cb577d4c9093138f /Help
parent1f9321c68399c8cc37a2cb9c78ef45949412bd7b (diff)
parent32a6ab1f3b23b816881d02cca29afcec280408d4 (diff)
downloadCMake-571205fb6b661e33937637133157445fbbe3f510.zip
CMake-571205fb6b661e33937637133157445fbbe3f510.tar.gz
CMake-571205fb6b661e33937637133157445fbbe3f510.tar.bz2
Merge topic 'QNX_CMAKE_SYSROOT'
32a6ab1f3b QNX: Add support for CMAKE_SYSROOT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4277
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-toolchains.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
index f233d08..e8badd4 100644
--- a/Help/manual/cmake-toolchains.7.rst
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -233,6 +233,9 @@ value to those supported compilers when compiling:
set(CMAKE_CXX_COMPILER QCC)
set(CMAKE_CXX_COMPILER_TARGET ${arch})
+ set(CMAKE_SYSROOT $ENV{QNX_TARGET})
+
+
Cross Compiling for Windows CE
------------------------------