aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fastdds/disable-werror.patch
blob: 9eb7a2d49b8ba2a41ea14764e942e205e8a2e8cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2ea15f..ffa61d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,9 +191,6 @@ if (${SANITIZER_THREAD} EQUAL -1)
     message(STATUS "Setting warnings as errors...")
     if(MSVC OR MSVC_IDE)
         add_compile_options(/WX)
-    else()
-        set(CMAKE_CXX_FLAGS
-            "${CMAKE_CXX_FLAGS} -Werror")
     endif()
 endif()