if(NOT KIMA2_USE_EXTERNAL_JSON) set(JSON_BuildTests OFF CACHE INTERNAL "") add_subdirectory(nlohmann_json) endif()