diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-03-12 02:27:15 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-03-12 02:27:15 +0300 |
commit | 92665b0a516f6f44602e7ab7af9a0f346ea2e9ec (patch) | |
tree | 447f1c51b25d2d316d70ec1dc4d9ec04ec6b0cce /CMakeLists.txt | |
parent | c30708c47cf106a2c2ac6175f1652a7a0618a6d0 (diff) |
Fix [#25659] crash when unwrapping specific mesh
Reported by Jan Hohoho
Running the unwrap causes stack to overflow. Double the size from default 1MB.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 90f1901cf23..41e6e432f61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -636,9 +636,9 @@ elseif(WIN32) # MSVC only, Mingw doesnt need if(CMAKE_CL_64) - set(PLATFORM_LINKFLAGS "/MACHINE:X64 /NODEFAULTLIB:libc.lib ") + set(PLATFORM_LINKFLAGS "/MACHINE:X64 /NODEFAULTLIB:libc.lib /STACK:2147483648 ") else() - set(PLATFORM_LINKFLAGS "/NODEFAULTLIB:libc.lib ") + set(PLATFORM_LINKFLAGS "/NODEFAULTLIB:libc.lib /STACK:2147483648 ") endif() set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:libcmt.lib;libc.lib ") |