summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 31ab66d..2a49c8f 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3472,7 +3472,6 @@ int cmMakefile::TryCompile(const std::string& srcdir,
// make sure the same generator is used
// use this program as the cmake to be run, it should not
// be run that way but the cmake object requires a vailid path
- std::string cmakeCommand = this->GetDefinition("CMAKE_COMMAND");
cmake cm;
cm.SetIsInTryCompile(true);
cmGlobalGenerator *gg = cm.CreateGlobalGenerator