Try workaround with WIN32

This commit is contained in:
denchat 2019-05-09 17:19:31 +07:00 committed by GitHub
parent bdc49297e1
commit 28b559ec56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ if (MSVC)
endif ()
else ()
if ( (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
AND NOT (CMAKE_CXX_COMPILER_ID MATCHES "AppleClang") )
AND WIN32 )
set(FMT_CUSTOM_MSVC_EH /EHsc)
else ()
set(FMT_CUSTOM_MSVC_EH)