vcpkg/ports/ogdf/fix-c4723.patch

14 lines
887 B
Diff
Raw Normal View History

diff --git a/cmake/compiler-specifics.cmake b/cmake/compiler-specifics.cmake
index 2446f32..45b00ac 100644
--- a/cmake/compiler-specifics.cmake
+++ b/cmake/compiler-specifics.cmake
@@ -40,7 +40,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set(available_default_warning_flags_release "${available_default_warning_flags_release} -Wno-error=unused-variable")
set(warnings_as_errors_flag "-Werror")
elseif(MSVC)
- set(available_default_warning_flags "/W3 /wd4018 /wd4068 /wd4101 /wd4244 /wd4250 /wd4267 /wd4373 /wd4800 /wd4996")
+ set(available_default_warning_flags "/W3 /wd4018 /wd4068 /wd4101 /wd4244 /wd4250 /wd4267 /wd4373 /wd4800 /wd4996 /wd4723")
# this has to be explained because MSVC is so cryptic:
# /W3 sets the warning level of MSVC to 3 (all warnings except informational warnings),
# /wd<code> disables the warning with the specific code,