vcpkg/ports/libunifex/allow-warnings.patch
Park DongHa 047e8ef16e
[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>
2021-08-30 09:51:19 -07:00

16 lines
496 B
Diff

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()