mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:27:49 +08:00
a8a07972db
* [pagmo2] Add new port * Disable C4701 * Disable /MD override for all static builds * Add pagmo2 port_version info * Find TBB when finding pagmo * Fixup pagmo2 port version * Change /Md patch to if(0) * Fix port_version for pagmo2 * Use vcpkg.json; use version * Reformat vcpkg.json * Fix port_versions for pagmo2
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)
|