Update CMakeLists.txt

This commit is contained in:
denchat 2019-05-09 18:12:20 +07:00 committed by GitHub
parent 473ccd01d7
commit ade161dbdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,6 @@ if (MSVC AND WIN32)
# if not, default to /EHsc in clang target msvc.
if (FMT_MSVC_EH)
set(FMT_CUSTOM_MSVC_EH ${FMT_MSVC_EH})
endif ()
else ()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(FMT_CUSTOM_MSVC_EH /EHsc)