From c68443f3a032572039a329ce33ce4c12e0807b67 Mon Sep 17 00:00:00 2001 From: Gaurav Date: Fri, 10 Mar 2017 10:33:03 +0530 Subject: [PATCH] Fix Cmake build issue FIx cmake build. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1d324a..7c38e27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()