File: no-Werror.patch

package info (click to toggle)
xenium 0.0.2%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,152 kB
  • sloc: cpp: 12,299; makefile: 20
file content (15 lines) | stat: -rw-r--r-- 592 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Don't build the tests with -Werror
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1016263

--- xenium-0.0.2+ds.orig/CMakeLists.txt
+++ xenium-0.0.2+ds/CMakeLists.txt
@@ -58,7 +58,7 @@ if(MSVC)
 #	target_compile_options(gtest PRIVATE /bigobj /W4)# /WX)
 	target_compile_options(benchmark PRIVATE /bigobj)# /W4 /WX)
 else()
-	target_compile_options(gtest PRIVATE -Wall -Wextra -Werror -Wno-error=cpp)
+	target_compile_options(gtest PRIVATE -Wall -Wextra -Wno-error=cpp)
 	target_compile_options(benchmark PRIVATE -Wall -Wextra -Wno-error=cpp)
 endif()