diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 10a3b883..9a005ca9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -42,6 +42,7 @@ if (MSVC AND WIN32) set(FMT_CUSTOM_MSVC_EH /EHsc) else () set(FMT_CUSTOM_MSVC_EH) + endif () endif () target_compile_options(gmock PUBLIC ${FMT_CUSTOM_MSVC_EH}) endif ()