From 82ed104dcb7d380e23fecfb4e7911f5eab093436 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 5 Oct 2010 13:45:34 -0400 Subject: [PATCH] Flag that the directories have been set --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 99b6bc311..a4a79befb 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2810,7 +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.SetArgs(*cmakeArgs, true); cm.SetCacheArgs(*cmakeArgs); } // to save time we pass the EnableLanguage info directly