summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-14 13:41:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-14 13:43:34 (GMT)
commitb54d80b29344d3544f4d51a4ae466fb3d8a5e0f0 (patch)
tree899c259556e48b810596a457b5ce301e1e58b96d /Source
parent1ee921531c494e13f200cd6f85922511bc05236c (diff)
parent11cbf79d154b614a90c1240932c38344db0556a9 (diff)
downloadCMake-b54d80b29344d3544f4d51a4ae466fb3d8a5e0f0.zip
CMake-b54d80b29344d3544f4d51a4ae466fb3d8a5e0f0.tar.gz
CMake-b54d80b29344d3544f4d51a4ae466fb3d8a5e0f0.tar.bz2
Merge topic 'cmake-gui-system-processor'
11cbf79d15 cmake-gui: Pass CMAKE_SYSTEM_PROCESSOR to from gui to cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4604
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 276bf64..4daf726 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -804,6 +804,9 @@ bool CMakeSetupDialog::setupFirstConfigure()
QString systemVersion = dialog.getSystemVersion();
m->insertProperty(QCMakeProperty::STRING, "CMAKE_SYSTEM_VERSION",
tr("CMake System Version"), systemVersion, false);
+ QString systemProcessor = dialog.getSystemProcessor();
+ m->insertProperty(QCMakeProperty::STRING, "CMAKE_SYSTEM_PROCESSOR",
+ tr("CMake System Processor"), systemProcessor, false);
QString cxxCompiler = dialog.getCXXCompiler();
m->insertProperty(QCMakeProperty::FILEPATH, "CMAKE_CXX_COMPILER",
tr("CXX compiler."), cxxCompiler, false);