Skip to content

Commit

Permalink
Re-activate -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Apr 2, 2024
1 parent 4abee1b commit 8a6929d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libtiledbsoma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ if(MSVC)
else()
add_compile_options(-Wall -Wextra)

if(TILEDBSOMA_ENABLE_WERROR)
add_compile_options(-Werror)
endif()

# Build-specific flags
if(CMAKE_BUILD_TYPE MATCHES "Debug")
add_compile_options(-DDEBUG -O0 -g3 -ggdb3 -gdwarf-3)
Expand Down

0 comments on commit 8a6929d

Please sign in to comment.