mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 20:59:45 +08:00
9ab6b68c83
* [ogdf] Fix build error on Visual Studio 2019 * Update portfile.cmake Update Format
14 lines
887 B
Diff
14 lines
887 B
Diff
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,
|