mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 07:59:01 +08:00
13 lines
710 B
Diff
13 lines
710 B
Diff
|
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.
|