mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-05 02:30:57 +02: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)
|
IF(JSONCPP_WITH_STRICT_ISO)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
|
||||||
|
ENDIF()
|
||||||
IF(JSONCPP_WITH_WARNING_AS_ERROR)
|
IF(JSONCPP_WITH_WARNING_AS_ERROR)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=conversion")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=conversion")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user