Skip to content

Commit

Permalink
LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
SiarheiFedartsou committed Jun 29, 2024
1 parent f394047 commit da1230b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/warnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ endmacro ()
add_warning(all)
add_warning(extra)
add_warning(pedantic)
# add_warning(error) # treat all warnings as errors
add_warning(error) # treat all warnings as errors
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
add_warning(strict-overflow=1)
endif()
Expand Down

0 comments on commit da1230b

Please sign in to comment.