Skip to content

Commit

Permalink
[cmake] Improve nlohmann-json.cmake to be compatible with the usual p…
Browse files Browse the repository at this point in the history
…ackage structure.
  • Loading branch information
aarlt committed Apr 10, 2024
1 parent d2bb60a commit 7d1853c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/nlohmann-json.cmake
@@ -1,7 +1,7 @@
include(ExternalProject)

ExternalProject_Add(nlohmann-json-project
DOWNLOAD_DIR "${CMAKE_SOURCE_DIR}/deps/nlohmann/json"
DOWNLOAD_DIR "${CMAKE_SOURCE_DIR}/deps/nlohmann/nlohmann"
DOWNLOAD_NAME json.hpp
DOWNLOAD_NO_EXTRACT 1
URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.hpp
Expand Down
2 changes: 1 addition & 1 deletion libsolutil/JSON.h
Expand Up @@ -24,7 +24,7 @@
#pragma once

#include <libsolutil/Assertions.h>
#include <json/json.hpp>
#include <nlohmann/json.hpp>

#include <string>
#include <string_view>
Expand Down

0 comments on commit 7d1853c

Please sign in to comment.