Skip to content

Commit

Permalink
turn all warnings into errors
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Oct 31, 2023
1 parent d0096fd commit 5e04f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(camera_ros)
set(CMAKE_CXX_STANDARD 17)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
add_link_options("-Wl,-z,relro,-z,now,-z,defs")
endif()

Expand Down

0 comments on commit 5e04f2d

Please sign in to comment.