Skip to content

Commit

Permalink
Remove /STACK option for Windows linker
Browse files Browse the repository at this point in the history
Do we need that?
  • Loading branch information
joto committed Jun 13, 2024
1 parent 43ec304 commit f8cacea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
add_compile_options(-wd4996)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099 /STACK:30000000")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099")
else()
add_compile_options(-Wall)
endif()
Expand Down

0 comments on commit f8cacea

Please sign in to comment.