From 367e5c37bbaba8f2169ed5a56e553e9327b8951a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 5 Oct 2010 12:27:37 -0400 Subject: Revert "Revert "When calling CMake, set the args and the cache"" This reverts commit ab5d4e43d9a9ddde24a242092a0d5e5f9a6cbd01. --- Source/cmMakefile.cxx | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12