Skip to content

Commit 5581ba4

Browse files
committed
[cmake] Add -Werror
1 parent ae838fd commit 5581ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ project(ReadoutCard
2222
add_subdirectory(doc)
2323

2424
# Add compiler flags for warnings and debug symbols
25-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
25+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Werror")
2626

2727
# Set fPIC for all targets
2828
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

0 commit comments

Comments
 (0)