aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/font-chef/disable-warnings-as-errors.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/font-chef/disable-warnings-as-errors.patch')
-rw-r--r--vcpkg/ports/font-chef/disable-warnings-as-errors.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/font-chef/disable-warnings-as-errors.patch b/vcpkg/ports/font-chef/disable-warnings-as-errors.patch
new file mode 100644
index 0000000..31b69f8
--- /dev/null
+++ b/vcpkg/ports/font-chef/disable-warnings-as-errors.patch
@@ -0,0 +1,12 @@
+diff --git a/src/font-chef/CMakeLists.txt b/src/font-chef/CMakeLists.txt
+--- a/src/font-chef/CMakeLists.txt
++++ b/src/font-chef/CMakeLists.txt
+@@ -68,7 +68,7 @@ target_include_directories(font-chef++ INTERFACE
+ if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
+ target_compile_options(font-chef PRIVATE
+ $<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:GNU>>:-Wall -Wextra -pedantic -fvisibility=hidden -Werror>
+- $<$<C_COMPILER_ID:MSVC>:/W3 /WX /wd4820 /wd4668 /wd4204>
++ $<$<C_COMPILER_ID:MSVC>:/W3 /wd4820 /wd4668 /wd4204>
+ )
+ endif()
+