forked from qt-creator/qt-creator
CMake: Fix compile for gcc 4.7.3
Change-Id: I2f07dc1d47d68786a9d62ab980e5f1e719726132 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -129,7 +129,7 @@ KitConfigWidget *CMakeKitInformation::createConfigWidget(Kit *k) const
|
||||
void CMakeKitInformation::addToMacroExpander(Kit *k, Utils::MacroExpander *expander) const
|
||||
{
|
||||
expander->registerFileVariables("CMake:Executable", tr("Path to the cmake executable"),
|
||||
[k]() -> QString {
|
||||
[this, k]() -> QString {
|
||||
CMakeTool *tool = CMakeKitInformation::cmakeTool(k);
|
||||
return tool ? tool->cmakeExecutable().toString() : QString();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user