diff Resources/CMake/OrthancFrameworkParameters.cmake @ 2497:0611aa383e62

Upgrade to JsonCpp 1.8.4, and USE_LEGACY_JSONCPP option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Mar 2018 15:27:00 +0100
parents 1e2d5e14b3d3
children 91ee08d986f9
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkParameters.cmake	Thu Mar 22 12:53:20 2018 +0100
+++ b/Resources/CMake/OrthancFrameworkParameters.cmake	Thu Mar 22 15:27:00 2018 +0100
@@ -67,11 +67,13 @@
 set(SYSTEM_MONGOOSE_USE_CALLBACKS ON CACHE BOOL "The system version of Mongoose uses callbacks (version >= 3.7)")
 set(USE_BOOST_ICONV ON CACHE BOOL "Use iconv instead of wconv (Windows only)")
 set(USE_PUGIXML ON CACHE BOOL "Use the Pugixml parser (turn off only for debug)")
+set(USE_LEGACY_JSONCPP OFF CACHE BOOL "Use the old branch 0.x.y of JsonCpp, that does not require a C++11 compiler (for old versions of Visual Studio)")
 
 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE)
 mark_as_advanced(SYSTEM_MONGOOSE_USE_CALLBACKS)
 mark_as_advanced(USE_BOOST_ICONV)
 mark_as_advanced(USE_PUGIXML)
+mark_as_advanced(USE_LEGACY_JSONCPP)
 
 
 #####################################################################