Flag that the directories have been set

This commit is contained in:
Ben Boeckel 2010-10-05 13:45:34 -04:00
parent 5aa535bdcb
commit 82ed104dcb
1 changed files with 1 additions and 1 deletions

View File

@ -2810,7 +2810,7 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
// if cmake args were provided then pass them in
if (cmakeArgs)
{
cm.SetArgs(*cmakeArgs);
cm.SetArgs(*cmakeArgs, true);
cm.SetCacheArgs(*cmakeArgs);
}
// to save time we pass the EnableLanguage info directly