summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2024-01-03 19:51:13 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2024-01-05 17:04:12 (GMT)
commit9d136743375b6011fcc49f3ab6cfceabd91d216e (patch)
treef8e61e75100e17cae5f662142be93e5568b17c5e /Source/QtDialog/CMakeSetupDialog.cxx
parent9090d340b45fa5092443d1abcf959a9a35a4d0e7 (diff)
downloadCMake-9d136743375b6011fcc49f3ab6cfceabd91d216e.zip
CMake-9d136743375b6011fcc49f3ab6cfceabd91d216e.tar.gz
CMake-9d136743375b6011fcc49f3ab6cfceabd91d216e.tar.bz2
cmake-gui: Hint that the preset compilers will be used
Instead of stating that the default is the native compilers, say we will use the compilers from the preset. This makes it more clear that the preset is working as expected.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index ab77818..2a6a831 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -875,7 +875,7 @@ bool CMakeSetupDialog::setupFirstConfigure()
if (preset.setToolset) {
dialog.setToolset(preset.toolset);
}
- dialog.setCompilerOption(CompilerOption::DefaultNative);
+ dialog.setCompilerOption(CompilerOption::DefaultPreset);
}
if (dialog.exec() == QDialog::Accepted) {