Revert "When calling CMake, set the args and the cache"
This reverts commit 9b90040edba1f89395295c27cd9919b0d5efd30b.
This commit is contained in:
parent
9b90040edb
commit
ab5d4e43d9
@ -2810,7 +2810,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
|
|||||||
// if cmake args were provided then pass them in
|
// if cmake args were provided then pass them in
|
||||||
if (cmakeArgs)
|
if (cmakeArgs)
|
||||||
{
|
{
|
||||||
cm.SetArgs(*cmakeArgs);
|
|
||||||
cm.SetCacheArgs(*cmakeArgs);
|
cm.SetCacheArgs(*cmakeArgs);
|
||||||
}
|
}
|
||||||
// to save time we pass the EnableLanguage info directly
|
// to save time we pass the EnableLanguage info directly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user