mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 16:30:26 +08:00
4ffe8b020f
* updated libunifex version * remove comment * run x-add-versions --all * Update ports/libunifex/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * rerun x-add-version libunifex * Update versions/l-/libunifex.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update libunifex to 12-07 * x-add-version * libunifex port update force cpp20 as cpp17 build doesn't work with msvc. added a compile fix for externConstexpr and removed warnings with /EHsc * Update libunifex.json version update * Update fix-compile-error.patch relax clang warnings * Update libunifex.json git x-add-version libunifex * remove unused * x-add-versions * remove old version log Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
16 lines
508 B
Diff
16 lines
508 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 /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()
|