From 308c5a2670a7551c00637d481c111ef345d3ae3c Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 4 Mar 2013 08:11:44 -0500 Subject: [PATCH] VS 10: Fix CMAKE__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 --- Source/cmVisualStudio10TargetGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 171ed9a7c..f4984c7ed 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_";