aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pagmo2/disable-werror.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pagmo2/disable-werror.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/pagmo2/disable-werror.patch')
-rw-r--r--vcpkg/ports/pagmo2/disable-werror.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/pagmo2/disable-werror.patch b/vcpkg/ports/pagmo2/disable-werror.patch
new file mode 100644
index 0000000..bc5ba11
--- /dev/null
+++ b/vcpkg/ports/pagmo2/disable-werror.patch
@@ -0,0 +1,20 @@
+diff --git a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
+index 7d7aa1b..81c8bf6 100644
+--- a/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
++++ b/cmake_modules/yacma/YACMACompilerLinkerSettings.cmake
+@@ -95,7 +95,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
+ # NOTE: enable unconditionally, as it seems like the CMake
+ # machinery for detecting this fails. Perhaps the source code
+ # used for checking the flag emits warnings?
+- list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")
+ # New warnings in clang 8.
+ # NOTE: a few issues with macros here, let's disable for now.
+ # _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(-Wextra-semi-stmt)
+@@ -180,7 +179,6 @@ if(NOT _YACMACompilerLinkerSettingsRun)
+ # Enable higher warning level than usual.
+ _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/W4)
+ # Treat warnings as errors.
+- _YACMA_CHECK_ENABLE_DEBUG_CXX_FLAG(/WX)
+ endif()
+
+ # Set the cache variables.