Skip to content

Commit b942ea2

Browse files
authored
Merge pull request #2198 from joto/remove-stack-option
Remove /STACK option for Windows linker
2 parents 43ec304 + 330354f commit b942ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
4848
if (MSVC)
4949
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
5050
add_compile_options(-wd4996)
51-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099 /STACK:30000000")
51+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099")
5252
else()
5353
add_compile_options(-Wall)
5454
endif()

0 commit comments

Comments
 (0)