diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-10-01 17:44:55 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-10-01 17:44:55 (GMT) |
commit | 9b90040edba1f89395295c27cd9919b0d5efd30b (patch) | |
tree | 4df6a3e9b6e84ccff2b499b379222ac478de44a1 /Source/cmMakefile.cxx | |
parent | fe56002a167df5d5c28de9e5a5c0b4bb1660fccf (diff) | |
download | CMake-9b90040edba1f89395295c27cd9919b0d5efd30b.zip CMake-9b90040edba1f89395295c27cd9919b0d5efd30b.tar.gz CMake-9b90040edba1f89395295c27cd9919b0d5efd30b.tar.bz2 |
When calling CMake, set the args and the cache
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 86aca5a..99b6bc3 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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 |