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
This commit is contained in:
Brad King 2013-03-04 08:11:44 -05:00
parent 2ea18eb0c7
commit 308c5a2670
1 changed files with 1 additions and 1 deletions

View File

@ -1390,7 +1390,7 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
std::string flags;
if(stackVal)
{
flags += " ";
flags += " /STACK:";
flags += stackVal;
}
std::string linkFlagVarBase = "CMAKE_";