Skip to content

Commit

Permalink
Enable warning as error for JSONC target
Browse files Browse the repository at this point in the history
  • Loading branch information
st235 committed Jun 29, 2024
1 parent 7f2c037 commit 870541d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ add_library(jsonc
src/json.cpp
)

set_property(TARGET jsonc PROPERTY COMPILE_WARNING_AS_ERROR ON)

target_include_directories(jsonc PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)

if (ASSERT)
Expand Down

0 comments on commit 870541d

Please sign in to comment.