mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
cmake-gui: Pass CMAKE_SYSTEM_VERSION from cross-compile configuration
Although this value can be configured in the dialog, it was simply not passed to the project as CMAKE_SYSTEM_VERSION. Fix that.
This commit is contained in:
committed by
Brad King
parent
1f8cfc3b5f
commit
1412960e89
@@ -756,6 +756,9 @@ bool CMakeSetupDialog::setupFirstConfigure()
|
||||
QString systemName = dialog.getSystemName();
|
||||
m->insertProperty(QCMakeProperty::STRING, "CMAKE_SYSTEM_NAME",
|
||||
tr("CMake System Name"), systemName, false);
|
||||
QString systemVersion = dialog.getSystemVersion();
|
||||
m->insertProperty(QCMakeProperty::STRING, "CMAKE_SYSTEM_VERSION",
|
||||
tr("CMake System Version"), systemVersion, false);
|
||||
QString cxxCompiler = dialog.getCXXCompiler();
|
||||
m->insertProperty(QCMakeProperty::FILEPATH, "CMAKE_CXX_COMPILER",
|
||||
tr("CXX compiler."), cxxCompiler, false);
|
||||
|
||||
Reference in New Issue
Block a user