From b73cac64090b6881f1610d97d63745b2ca9be860 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 30 Jun 2008 09:57:07 -0400 Subject: BUG: Do not escape make variable references in VS additional options. --- Source/cmLocalVisualStudio7Generator.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 9ba06e7..2580047 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -2173,8 +2173,10 @@ void cmLocalVisualStudio7GeneratorOptions::HandleFlag(const char* flag) // This option is not known. Store it in the output flags. this->FlagString += " "; this->FlagString += - cmSystemTools::EscapeWindowsShellArgument(flag, - cmsysSystem_Shell_Flag_VSIDE); + cmSystemTools::EscapeWindowsShellArgument( + flag, + cmsysSystem_Shell_Flag_AllowMakeVariables | + cmsysSystem_Shell_Flag_VSIDE); } //---------------------------------------------------------------------------- -- cgit v0.12