diff options
| author | Park DongHa <luncliff@gmail.com> | 2021-08-31 01:51:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 09:51:19 -0700 |
| commit | 047e8ef16e2cdb431b9857b79fdfa237b0f038e2 (patch) | |
| tree | eaf7c5c251c78ab11a5f8f9eac2c35c34eebd66b /ports/libunifex/allow-warnings.patch | |
| parent | 8602e5facbc255cff84f0101cac150bb74296e20 (diff) | |
| download | vcpkg-047e8ef16e2cdb431b9857b79fdfa237b0f038e2.tar.gz vcpkg-047e8ef16e2cdb431b9857b79fdfa237b0f038e2.zip | |
[libunifex] create a new port (#19279)
* [libunifex] create a new port
* [libunifex] update version/baseline
* [libunifex] fix wrong support expression
* update version SHA
* [libunifex] more warning comments
* [libunifex] use `unofficial::` namespace
* [libunifex] allow warnings in build
* simplify the patch file
* Update ports/libunifex/vcpkg.json
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
* [libunifex] update patch files
* [libunifex] replace INCLUDEDIR to include
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Diffstat (limited to 'ports/libunifex/allow-warnings.patch')
| -rw-r--r-- | ports/libunifex/allow-warnings.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/libunifex/allow-warnings.patch b/ports/libunifex/allow-warnings.patch new file mode 100644 index 000000000..272624f06 --- /dev/null +++ b/ports/libunifex/allow-warnings.patch @@ -0,0 +1,15 @@ +diff --git a/cmake/unifex_env.cmake b/cmake/unifex_env.cmake
+index cb99ae4..9825532 100644
+--- a/cmake/unifex_env.cmake
++++ b/cmake/unifex_env.cmake
+@@ -21,8 +21,8 @@ endif()
+
+ if (MSVC)
+ # warning level 3 and all warnings as errors
+- add_compile_options(/W3 /WX)
++ add_compile_options(/W3)
+ else()
+ # lots of warnings and all warnings as errors
+- add_compile_options(-Wall -Wextra -pedantic -Werror)
++ add_compile_options(-Wall -Wextra -pedantic)
+ endif()
|
