early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/folly/fix-windows-minmax.patch
vendored
Executable file
12
externals/vcpkg/ports/folly/fix-windows-minmax.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/CMake/FollyCompilerMSVC.cmake b/CMake/FollyCompilerMSVC.cmake
|
||||
index ec2ce1a1d..16deda71c 100644
|
||||
--- a/CMake/FollyCompilerMSVC.cmake
|
||||
+++ b/CMake/FollyCompilerMSVC.cmake
|
||||
@@ -289,6 +289,7 @@ function(apply_folly_compile_options_to_target THETARGET)
|
||||
# And the extra defines:
|
||||
target_compile_definitions(${THETARGET}
|
||||
PUBLIC
|
||||
+ NOMINMAX
|
||||
_CRT_NONSTDC_NO_WARNINGS # Don't deprecate posix names of functions.
|
||||
_CRT_SECURE_NO_WARNINGS # Don't deprecate the non _s versions of various standard library functions, because safety is for chumps.
|
||||
_SCL_SECURE_NO_WARNINGS # Don't deprecate the non _s versions of various standard library functions, because safety is for chumps.
|
||||
Reference in New Issue
Block a user