early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/pagmo2/disable-C4701.patch
vendored
Executable file
13
externals/vcpkg/ports/pagmo2/disable-C4701.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user