1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 04:24:36 +08:00

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

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