Skip to content

Commit e5005c0

Browse files
committed
Treat warnings as errors
1 parent 5f65b7a commit e5005c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
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 OFF) # TODO(emilk): If we turn this ON, VRS fails to compile
3+
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
44

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

0 commit comments

Comments
 (0)