Temporary workaround suggested by the upstream.
--- test/CMakeLists.txt.orig	2018-08-12 16:02:18 UTC
+++ test/CMakeLists.txt
@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CM
     project(xtl-test)
 
     find_package(xtl REQUIRED CONFIG)
+    find_package(nlohmann_json QUIET)
     set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
 endif ()
 
