|
|
@@ -165,7 +165,7 @@ set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
|
|
|
|
|
|
# executable linker flags
|
|
|
set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:")
|
|
|
-# set the stack size and the machine type
|
|
|
+# set the machine type
|
|
|
set(_MACHINE_ARCH_FLAG ${MSVC_C_ARCHITECTURE_ID})
|
|
|
if(NOT _MACHINE_ARCH_FLAG)
|
|
|
set(_MACHINE_ARCH_FLAG ${MSVC_CXX_ARCHITECTURE_ID})
|
|
|
@@ -178,7 +178,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "WindowsCE")
|
|
|
endif()
|
|
|
endif()
|
|
|
set (CMAKE_EXE_LINKER_FLAGS_INIT
|
|
|
- "${CMAKE_EXE_LINKER_FLAGS_INIT} /STACK:10000000 /machine:${_MACHINE_ARCH_FLAG}")
|
|
|
+ "${CMAKE_EXE_LINKER_FLAGS_INIT} /machine:${_MACHINE_ARCH_FLAG}")
|
|
|
|
|
|
# add /debug and /INCREMENTAL:YES to DEBUG and RELWITHDEBINFO also add pdbtype
|
|
|
# on versions that support it
|