message: cmake: fix linking to gmock on Windows
diff: @@ -208,6 +208,12 @@ if(NOT IOS AND NOT ANDROID)
  ${unit_tests_src}
  )
  + if (MSVC)
  + # We need this to prevent linking errors from happening in the Windows build.
  + target_compile_definitions(unit_tests_runner PRIVATE -DGTEST_LINKED_AS_SHARED_LIBRARY)
  + target_compile_options(unit_tests_runner PUBLIC "/wd4251" "/wd4275")
  + endif()
  +
  target_compile_definitions(unit_tests_runner PRIVATE FAKE_TIME=1)
  set_target_properties(unit_tests_runner
  