From 910aafc7a41c0665d054920049772999a535a4bd Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Fri, 7 May 2021 10:42:17 +0200
Subject: [PATCH] Set warnings as errors off in pythoin build.

---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 11676929c..f50f6e2b1 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,8 @@ vf_cmake_args = [
     "-DUSE_METIS=ON",
     "-DUSE_MPI=ON",
     "-DBUILD_SHARED_LIBS=OFF",
-    "-DBUILD_VF_UNIT_TESTS:BOOL=ON"
+    "-DBUILD_VF_UNIT_TESTS:BOOL=ON",
+    "-DBUILD_WARNINGS_AS_ERRORS=ON"
 ]
 
 
-- 
GitLab