mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
When calling CMake, set the args and the cache
This commit is contained in:
parent
fe56002a16
commit
9b90040edb
@ -2810,6 +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.SetCacheArgs(*cmakeArgs);
|
||||
}
|
||||
// to save time we pass the EnableLanguage info directly
|
||||
|
Loading…
Reference in New Issue
Block a user