mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 21:57:49 +08:00
14 lines
798 B
Diff
14 lines
798 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 96653ba..1afaafa 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -80,7 +80,7 @@ endif()
|
||
|
if(YACMA_COMPILER_IS_MSVC)
|
||
|
# Disable the idiotic minmax macros on MSVC, some annoying warnings,
|
||
|
# enable the bigobj option and the WIN32_LEAN_AND_MEAN definition.
|
||
|
- list(APPEND PAGMO_CXX_FLAGS_DEBUG "-DNOMINMAX" "/wd4459" "/wd4127" "/wd4702" "/wd4251" "/bigobj" "-DWIN32_LEAN_AND_MEAN")
|
||
|
+ list(APPEND PAGMO_CXX_FLAGS_DEBUG "-DNOMINMAX" "/wd4459" "/wd4127" "/wd4702" "/wd4251" "/wd4701" "/bigobj" "-DWIN32_LEAN_AND_MEAN")
|
||
|
list(APPEND PAGMO_CXX_FLAGS_RELEASE "-DNOMINMAX" "/wd4459" "/wd4127" "/wd4702" "/wd4251" "/bigobj" "-DWIN32_LEAN_AND_MEAN")
|
||
|
# Enable strict conformance mode, if supported.
|
||
|
set(CMAKE_REQUIRED_QUIET TRUE)
|