mirror of https://github.com/microsoft/vcpkg.git
18 lines
902 B
Diff
18 lines
902 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b8462b8..4a794ba 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -222,11 +222,11 @@ if(MSVC AND LUAU_BUILD_CLI)
|
|
# the default stack size that MSVC linker uses is 1 MB; we need more stack space in Debug because stack frames are larger
|
|
set_target_properties(Luau.Analyze.CLI PROPERTIES LINK_FLAGS_DEBUG /STACK:2097152)
|
|
set_target_properties(Luau.Repl.CLI PROPERTIES LINK_FLAGS_DEBUG /STACK:2097152)
|
|
- set_target_properties(Luau.UnitTest PROPERTIES LINK_FLAGS_DEBUG /STACK:2097152)
|
|
endif()
|
|
|
|
if(MSVC AND LUAU_BUILD_TESTS)
|
|
# the default stack size that MSVC linker uses is 1 MB; we need more stack space in Debug because stack frames are larger
|
|
+ set_target_properties(Luau.UnitTest PROPERTIES LINK_FLAGS_DEBUG /STACK:2097152)
|
|
set_target_properties(Luau.CLI.Test PROPERTIES LINK_FLAGS_DEBUG /STACK:2097152)
|
|
endif()
|
|
|