Revert "When calling CMake, set the args and the cache"

This reverts commit 9b90040edb.
This commit is contained in:
Ben Boeckel 2010-10-01 16:52:16 -04:00
parent 9b90040edb
commit ab5d4e43d9
1 changed files with 0 additions and 1 deletions

View File

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