diff options
author | Brad King <brad.king@kitware.com> | 2008-06-30 13:57:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-30 13:57:07 (GMT) |
commit | b73cac64090b6881f1610d97d63745b2ca9be860 (patch) | |
tree | bb00460a61968458412f0689e625e08050890caa | |
parent | 5b09901f690deeb153a18f421a10434e17801b3a (diff) | |
download | CMake-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.cxx | 6 |
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); } //---------------------------------------------------------------------------- |