Commit a2447b56 authored by David Thompson's avatar David Thompson
Browse files

Add nlohmann_json as a superbuild project.

parent 37c88ad5
# Build and install:
superbuild_add_project(nlohmannjson
DEPENDS cxx11
CMAKE_ARGS
-DENABLE_TESTING:BOOL=OFF
-DBUILD_TESTING:BOOL=OFF
)
# Provide our location to dependent projects:
superbuild_add_extra_cmake_args(
-Dnlohmann_json_DIR:PATH=<INSTALL_DIR>/lib/cmake/nlohmann_json
)
......@@ -14,6 +14,7 @@ function (superbuild_find_projects var)
matplotlib
mpi
netcdf
nlohmannjson
numpy
png
python
......
......@@ -75,6 +75,11 @@ superbuild_set_revision(libxml2
URL "https://www.paraview.org/files/dependencies/libxml2-2.7.8.tar.gz"
URL_MD5 8127a65e8c3b08856093099b52599c86)
superbuild_set_revision(nlohmannjson
GIT_REPOSITORY "https://github.com/nlohmann/json.git"
GIT_TAG "v3.6.1"
)
if (WIN32)
set(qt4_ver "4.8.4")
set(qt4_md5 "89c5ecba180cae74c66260ac732dc5cb")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment