gmock PUBLIC

This commit is contained in:
denchat 2019-05-09 18:04:55 +07:00 committed by GitHub
parent 032ac28c1d
commit 8d8f7b1fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ if (MSVC AND WIN32)
else ()
set(FMT_CUSTOM_MSVC_EH)
endif ()
target_compile_options(fmt PRIVATE ${FMT_CUSTOM_MSVC_EH})
target_compile_options(gmock PUBLIC ${FMT_CUSTOM_MSVC_EH})
endif ()
# GTest doesn't detect <tuple> with clang.