summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-06-30 13:57:07 (GMT)
committerBrad King <brad.king@kitware.com>2008-06-30 13:57:07 (GMT)
commitb73cac64090b6881f1610d97d63745b2ca9be860 (patch)
treebb00460a61968458412f0689e625e08050890caa
parent5b09901f690deeb153a18f421a10434e17801b3a (diff)
downloadCMake-b73cac64090b6881f1610d97d63745b2ca9be860.zip
CMake-b73cac64090b6881f1610d97d63745b2ca9be860.tar.gz
CMake-b73cac64090b6881f1610d97d63745b2ca9be860.tar.bz2
BUG: Do not escape make variable references in VS additional options.
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx6
1 files 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);
}
//----------------------------------------------------------------------------