diff options
author | Brad King <brad.king@kitware.com> | 2013-03-04 13:11:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-04 13:18:28 (GMT) |
commit | 308c5a2670a7551c00637d481c111ef345d3ae3c (patch) | |
tree | 277f006f8c411bc15a53759414e15de1146a0ddb | |
parent | 2ea18eb0c70a0fbb5061b0f7215c40d5eade5447 (diff) | |
download | CMake-308c5a2670a7551c00637d481c111ef345d3ae3c.zip CMake-308c5a2670a7551c00637d481c111ef345d3ae3c.tar.gz CMake-308c5a2670a7551c00637d481c111ef345d3ae3c.tar.bz2 |
VS 10: Fix CMAKE_<LANG>_STACK_SIZE implementation (#13968)
Use the /STACK: flag to pass the value through flag parsing so that the
generator converts it to the StackReserveSize project file option. The
option was accidentally left out by commit 7491f529 (first pass at VS
10, 2009-06-25).
Suggested-by: goatboy160@yahoo.com
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 171ed9a..f4984c7 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1390,7 +1390,7 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config) std::string flags; if(stackVal) { - flags += " "; + flags += " /STACK:"; flags += stackVal; } std::string linkFlagVarBase = "CMAKE_"; |