diff --git a/CMakeLists.txt b/CMakeLists.txt index 20ba932..d2ca743 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)