mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
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}`.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user