We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48bfe91 commit 7c93031Copy full SHA for 7c93031
CMakeLists.txt
@@ -85,6 +85,7 @@ macro(UseCompilationWarningAsError)
85
# warnings when compiled in release configuration.
86
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /WX ")
87
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
88
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
89
if (JSONCPP_WITH_STRICT_ISO)
90
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic-errors")
91
endif ()
0 commit comments