summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-21 13:03:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-05-21 13:03:52 (GMT)
commit3e3a09d1d3c91a6522260734b4542b420152e21c (patch)
treebd3291e1b44702c2adfe23287f7c6a00e46cb41b /Source/cmQtAutoGenerators.cxx
parent2c54622ff57b2ccb44d4e99e2fefb0501dbccb92 (diff)
parent6fbd4cae0d7765d305d753a78d167b3fcaa6eaf6 (diff)
downloadCMake-3e3a09d1d3c91a6522260734b4542b420152e21c.zip
CMake-3e3a09d1d3c91a6522260734b4542b420152e21c.tar.gz
CMake-3e3a09d1d3c91a6522260734b4542b420152e21c.tar.bz2
Merge topic 'clean-up-CMAKE_COMMAND'
6fbd4cae Use cmSystemTools::GetCMakeCommand() to get path to cmake internally
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index d963f99..add5e61 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -320,7 +320,7 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
std::string targetDir = getAutogenTargetDir(target);
cmCustomCommandLine currentLine;
- currentLine.push_back(makefile->GetSafeDefinition("CMAKE_COMMAND"));
+ currentLine.push_back(cmSystemTools::GetCMakeCommand());
currentLine.push_back("-E");
currentLine.push_back("cmake_autogen");
currentLine.push_back(targetDir);