aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libunifex/fix-compile-error.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/libunifex/fix-compile-error.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libunifex/fix-compile-error.patch')
-rw-r--r--vcpkg/ports/libunifex/fix-compile-error.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/libunifex/fix-compile-error.patch b/vcpkg/ports/libunifex/fix-compile-error.patch
new file mode 100644
index 0000000..3cbd545
--- /dev/null
+++ b/vcpkg/ports/libunifex/fix-compile-error.patch
@@ -0,0 +1,15 @@
+diff --git a/cmake/unifex_env.cmake b/cmake/unifex_env.cmake
+index b26aed1..051a7af 100644
+--- a/cmake/unifex_env.cmake
++++ b/cmake/unifex_env.cmake
+@@ -21,8 +21,8 @@ endif()
+
+ if (UNIFEX_CXX_COMPILER_MSVC)
+ # warning level 3 and all warnings as errors
+- add_compile_options(/W3 /WX)
++ add_compile_options(/W3 /WX /Zc:externConstexpr /EHsc)
+ else()
+ # lots of warnings and all warnings as errors
+- add_compile_options(-Wall -Wextra -pedantic -Werror)
++ add_compile_options(-Wall -Wextra -pedantic)
+ endif()