diff options
author | Brad King <brad.king@kitware.com> | 2015-05-21 13:03:52 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-05-21 13:03:52 (GMT) |
commit | 3e3a09d1d3c91a6522260734b4542b420152e21c (patch) | |
tree | bd3291e1b44702c2adfe23287f7c6a00e46cb41b /Source/cmQtAutoGenerators.cxx | |
parent | 2c54622ff57b2ccb44d4e99e2fefb0501dbccb92 (diff) | |
parent | 6fbd4cae0d7765d305d753a78d167b3fcaa6eaf6 (diff) | |
download | CMake-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.cxx | 2 |
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); |