diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2dbb3ee381..f290074394 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,6 @@ if(MSVC) + add_compile_options(/wd4251) + option( gtest_force_shared_crt "Use shared (DLL) run-time lib even when Google Test is built as static lib."