summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp/include
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-13 15:45:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-15 16:37:17 (GMT)
commit1fc556536e0c0475d401e8b5747b46e9f7c32287 (patch)
treee75032b9fcf4d3792a0293bec94717fa5f3c60c7 /Utilities/cmjsoncpp/include
parent84d5674d4e0cfe30f28db2893ad00937deece57c (diff)
downloadCMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.zip
CMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.tar.gz
CMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.tar.bz2
jsoncpp: Build the library within CMake
Update json/json.h to account for our lack of autolink.h. Update json/config.h to include KWSys Large File Support configuration so that consistent stream libraries are used (on AIX with XL). Add a cm_jsoncpp_reader.h header to include the CMake-provided copy of the json/reader.h header from CMake sources.
Diffstat (limited to 'Utilities/cmjsoncpp/include')
-rw-r--r--Utilities/cmjsoncpp/include/json/config.h3
-rw-r--r--Utilities/cmjsoncpp/include/json/json.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/include/json/config.h b/Utilities/cmjsoncpp/include/json/config.h
index afd3a45..4d31797 100644
--- a/Utilities/cmjsoncpp/include/json/config.h
+++ b/Utilities/cmjsoncpp/include/json/config.h
@@ -6,6 +6,9 @@
#ifndef JSON_CONFIG_H_INCLUDED
#define JSON_CONFIG_H_INCLUDED
+// Include KWSys Large File Support configuration.
+#include <cmsys/Configure.h>
+
/// If defined, indicates that json library is embedded in CppTL library.
//# define JSON_IN_CPPTL 1
diff --git a/Utilities/cmjsoncpp/include/json/json.h b/Utilities/cmjsoncpp/include/json/json.h
index 8f10ac2..f89bc62 100644
--- a/Utilities/cmjsoncpp/include/json/json.h
+++ b/Utilities/cmjsoncpp/include/json/json.h
@@ -6,7 +6,6 @@
#ifndef JSON_JSON_H_INCLUDED
#define JSON_JSON_H_INCLUDED
-#include "autolink.h"
#include "value.h"
#include "reader.h"
#include "writer.h"