mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[CMAKE] Do not use a flag which clang doesn't know
This commit is contained in:
parent
523912536e
commit
aa51bcfbcb
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ add_compile_options(/Zc:threadSafeInit-)
|
|||
# HACK: Disable use of __CxxFrameHandler4 on VS 16.3+ (x64 only)
|
||||
# See https://developercommunity.visualstudio.com/content/problem/746534/visual-c-163-runtime-uses-an-unsupported-api-for-u.html
|
||||
if(ARCH STREQUAL "amd64" AND MSVC_VERSION GREATER 1922)
|
||||
add_compile_options(/d2FH4-)
|
||||
if (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_options(/d2FH4-)
|
||||
endif()
|
||||
add_link_options(/d2:-FH4-)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue