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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
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 |