diff options
author | Christian Stenger <[email protected]> | 2016-03-21 06:38:43 +0100 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2016-03-21 08:00:33 +0000 |
commit | 47f5c1357328ff906a14affffa19def9f59eed6a (patch) | |
tree | b839823740152b04f32a583a8d69f002ba7595b3 | |
parent | abbd94e4b9273cc1fcd9610ec1d7323cbf6f9866 (diff) |
CMake: Fix compile for gcc 4.7.3
Change-Id: I2f07dc1d47d68786a9d62ab980e5f1e719726132
Reviewed-by: hjk <[email protected]>
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakekitinformation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp index baada0b59a3..e0d5f786810 100644 --- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp +++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp @@ -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(); }); |