# #jsoncpp # #JSON for C++ # #Builds only static library because the interface is C++ and does not lend #itself to safe export from a dynamic library across all platforms. # ExternalProject_Add ( jsoncpp PREFIX ${CMAKE_INSTALL_PREFIX} URL https://github.com/open-source-parsers/jsoncpp/archive/1.6.2.zip URL_MD5 2a9617e793b3a7c539ba12fd6f35c7f5 CMAKE_ARGS -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF -DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF -DJSONCPP_WITH_CMAKE_PACKAGE=OFF )