Skip to content

Commit 97ac470

Browse files
committed
Update CMakeLists.txt
Bug fix on linker line
1 parent 4a2200f commit 97ac470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ macro(ADD_EXAMPLE name)
66
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
77

88
if ( ${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
9-
target_link_options(example_${name} PRIVATE "LINKER:--stack:10000000")
9+
target_link_options(example_${name} PRIVATE "LINKER:--stack,10000000")
1010
endif()
1111
endmacro(ADD_EXAMPLE)
1212

0 commit comments

Comments
 (0)