aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opensubdiv/fix_compile-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/opensubdiv/fix_compile-option.patch')
-rw-r--r--vcpkg/ports/opensubdiv/fix_compile-option.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/opensubdiv/fix_compile-option.patch b/vcpkg/ports/opensubdiv/fix_compile-option.patch
new file mode 100644
index 0000000..1acae92
--- /dev/null
+++ b/vcpkg/ports/opensubdiv/fix_compile-option.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b69912ae..dcde4297 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -218,7 +218,7 @@ elseif(MSVC)
+
+ list(APPEND OSD_COMPILER_FLAGS
+ /W3 # Use warning level recommended for production purposes.
+- /WX # Treat all compiler warnings as errors.
++ # /WX # Treat all compiler warnings as errors.
+
+ # warning C4005: macro redefinition
+ /wd4005