mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-13 10:22:55 +01:00
Fix Cmake build issue
FIx cmake build.
This commit is contained in:
parent
11c48d0047
commit
c68443f3a0
@ -114,6 +114,7 @@ ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
|
||||
IF(JSONCPP_WITH_STRICT_ISO)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
|
||||
ENDIF()
|
||||
IF(JSONCPP_WITH_WARNING_AS_ERROR)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=conversion")
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user