Skip to content

Commit a2dbede

Browse files
committed
Revert "Treat warnings as errors"
This reverts commit e5005c0.
1 parent cd0e912 commit a2dbede

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.16...3.27)
22

3-
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
3+
set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) # TODO(emilk): If we turn this ON, VRS fails to compile
44

55
set(TARGET_NAME rerun_vrs_example)
66
project(${TARGET_NAME} LANGUAGES CXX)
@@ -61,6 +61,7 @@ else()
6161
-Wcast-qual
6262
-Wdeprecated
6363
-Wdeprecated-declarations
64+
-Werror=deprecated-declarations
6465
-Wextra
6566
-Wformat=2
6667
-Wmissing-include-dirs

0 commit comments

Comments
 (0)