msvc.patch 886 B

12345678910111213
  1. diff --git a/CMake/FollyCompilerMSVC.cmake b/CMake/FollyCompilerMSVC.cmake
  2. --- a/CMake/FollyCompilerMSVC.cmake
  3. +++ b/CMake/FollyCompilerMSVC.cmake
  4. @@ -298,6 +298,9 @@ function(apply_folly_compile_options_to_target THETARGET)
  5. $<$<BOOL:${MSVC_ENABLE_CPP_LATEST}>:_HAS_AUTO_PTR_ETC=1> # We're building in C++ 17 or greater mode, but certain dependencies (Boost) still have dependencies on unary_function and binary_function, so we have to make sure not to remove them.
  6. $<$<BOOL:${MSVC_ENABLE_LEAN_AND_MEAN_WINDOWS}>:WIN32_LEAN_AND_MEAN> # Don't include most of Windows.h
  7. $<$<BOOL:${MSVC_SUPPRESS_BOOST_CONFIG_OUTDATED}>:BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE> # MSVC moves faster than boost, so add a quick way to disable the messages.
  8. +
  9. + NOMINMAX
  10. + GLOG_NO_ABBREVIATED_SEVERITIES
  11. )
  12. # Ignore a warning about an object file not defining any symbols,