Fix Cmake build issue

FIx cmake build.
This commit is contained in:
Gaurav 2017-03-10 10:33:03 +05:30 committed by GitHub
parent 11c48d0047
commit c68443f3a0

View File

@ -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()