diff --git a/tests/cpp-tests/CMakeLists.txt b/tests/cpp-tests/CMakeLists.txt index 9d60aa7ac0..012f4f3b2b 100644 --- a/tests/cpp-tests/CMakeLists.txt +++ b/tests/cpp-tests/CMakeLists.txt @@ -529,6 +529,10 @@ target_include_directories(${APP_NAME} PRIVATE Classes ) +if(WIN64) + target_link_options(${APP_NAME} PRIVATE "/STACK:4194304") +endif() + # mark app resources setup_cocos_app_config(${APP_NAME}) if(APPLE)