mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
cmake: use correct stack size with gnu mode clang on windows
This commit is contained in:
parent
d44c0db0b2
commit
26af0b25e7
@ -21,6 +21,12 @@ if(MSVC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stack:10000000")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL Clang
|
||||
AND "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC"
|
||||
AND "x${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "xGNU")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Xlinker -stack:20000000")
|
||||
endif()
|
||||
|
||||
#silence duplicate symbol warnings on AIX
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "AIX")
|
||||
if(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
Loading…
Reference in New Issue
Block a user