dev-cpp/cpprestsdk: disable werror flag by default

Bug: https://bugs.gentoo.org/920029
Closes: https://bugs.gentoo.org/920029
Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>
This commit is contained in:
Jan-Espen Oversand
2023-12-17 23:51:02 +01:00
parent 30a64bad2b
commit 102ae60a0c
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/Release/CMakeLists.txt
+++ b/Release/CMakeLists.txt
@@ -15,7 +15,7 @@ set(CPPREST_VERSION_REVISION 19)
enable_testing()
-set(WERROR ON CACHE BOOL "Treat Warnings as Errors.")
+set(WERROR OFF CACHE BOOL "Treat Warnings as Errors.")
set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.")
set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.")
set(CPPREST_EXCLUDE_BROTLI ON CACHE BOOL "Exclude Brotli compression functionality.")