summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-08-04 20:33:10 (GMT)
committerBrad King <brad.king@kitware.com>2004-08-04 20:33:10 (GMT)
commit9b1771aef4c38d2b536d1b2306b62c1b2c27266e (patch)
tree4db25f1fb06ee22705bef16f70b1a9bbd852847a /Source/cmMakefile.cxx
parentf99d94891680c9b14a91579bc4e96b89c9246656 (diff)
downloadCMake-9b1771aef4c38d2b536d1b2306b62c1b2c27266e.zip
CMake-9b1771aef4c38d2b536d1b2306b62c1b2c27266e.tar.gz
CMake-9b1771aef4c38d2b536d1b2306b62c1b2c27266e.tar.bz2
BUG: CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the cmMakefile instance for the listfile containing the TRY_COMPILE call, not the top level listfile.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c552671..1f6b8f2 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2093,7 +2093,8 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
m_LocalGenerator->GetGlobalGenerator()->TryCompile(srcdir,bindir,
projectName,
targetName,
- output);
+ output,
+ this);
cmSystemTools::ChangeDirectory(cwd.c_str());
return ret;