Merge topic 'cmake-gui-system-version'

1412960e cmake-gui: Pass CMAKE_SYSTEM_VERSION from cross-compile configuration
This commit is contained in:
Brad King 2014-08-18 11:21:52 -04:00 committed by CMake Topic Stage
commit de547ca5c3
1 changed files with 3 additions and 0 deletions

View File

@ -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);