diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-13 17:48:14 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-13 17:48:14 (GMT) |
commit | ee592e9b9854f06d492cd5865678e6b67ca56c94 (patch) | |
tree | 08073f0e82a3a165a4a5f60914d310ba3b0bbd8e /Source/cmMakefile.cxx | |
parent | 9d59d651a149ff230621234fdb723d383e502e45 (diff) | |
download | CMake-ee592e9b9854f06d492cd5865678e6b67ca56c94.zip CMake-ee592e9b9854f06d492cd5865678e6b67ca56c94.tar.gz CMake-ee592e9b9854f06d492cd5865678e6b67ca56c94.tar.bz2 |
some fixes for try compile
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index fc7622c..e41551a 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1352,6 +1352,7 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir, // be run that way but the cmake object requires a vailid path std::string cmakeCommand = this->GetDefinition("CMAKE_COMMAND"); cmake cm; + cm.AddCMakePaths(cmakeCommand.c_str()); cm.SetIsInTryCompile(true); cmGlobalGenerator *gg = cm.CreateGlobalGenerator(m_LocalGenerator->GetGlobalGenerator()->GetName()); |