diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-12 15:08:06 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-12 15:08:06 (GMT) |
commit | 2aea6d528e5e310078d270bca9736f9e7d993b1a (patch) | |
tree | f1c8fb0ec307ecb8b4875d25b706a7b78b180f2f /Source/cmMakefile.cxx | |
parent | 895f8c42c0608703dff076eb195092a96a7c9f45 (diff) | |
download | CMake-2aea6d528e5e310078d270bca9736f9e7d993b1a.zip CMake-2aea6d528e5e310078d270bca9736f9e7d993b1a.tar.gz CMake-2aea6d528e5e310078d270bca9736f9e7d993b1a.tar.bz2 |
added a flag if a cmake is in 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 e945b17..4c4cd6b 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.SetIsInTryCompile(true); cmGlobalGenerator *gg = cm.CreateGlobalGenerator(this->m_LocalGenerator->GetGlobalGenerator()->GetName()); if (!gg) |