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:
parent
2ea18eb0c7
commit
308c5a2670
@ -1390,7 +1390,7 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
|
||||
std::string flags;
|
||||
if(stackVal)
|
||||
{
|
||||
flags += " ";
|
||||
flags += " /STACK:";
|
||||
flags += stackVal;
|
||||
}
|
||||
std::string linkFlagVarBase = "CMAKE_";
|
||||
|
Loading…
x
Reference in New Issue
Block a user