diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2020-04-13 15:04:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-13 15:17:10 (GMT) |
commit | 11cbf79d154b614a90c1240932c38344db0556a9 (patch) | |
tree | 036f5d98bbff40422131eae1be82f95eab8dd2d4 /Source/QtDialog/CMakeSetupDialog.cxx | |
parent | eb28858586e0bb1be60ddcdc02fa8b649ebc69f0 (diff) | |
download | CMake-11cbf79d154b614a90c1240932c38344db0556a9.zip CMake-11cbf79d154b614a90c1240932c38344db0556a9.tar.gz CMake-11cbf79d154b614a90c1240932c38344db0556a9.tar.bz2 |
cmake-gui: Pass CMAKE_SYSTEM_PROCESSOR to from gui to cmake
Add missing `CMAKE_SYSTEM_PROCESSOR` cmake cache entry to passed options
for first configure. We already pass `CMAKE_SYSTEM_{NAME,VERSION}`.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 3 |
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); |