From 43eb8471e5736881de57e5a7b2b094e5ca3a741e Mon Sep 17 00:00:00 2001 From: Eidolon <furyhunter600@gmail.com> Date: Thu, 25 Apr 2024 19:57:40 -0500 Subject: [PATCH] Fix add_library for nlohmann_json --- thirdparty/nlohmann-json/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/nlohmann-json/CMakeLists.txt b/thirdparty/nlohmann-json/CMakeLists.txt index b6dea9e6fb..d9d8326733 100644 --- a/thirdparty/nlohmann-json/CMakeLists.txt +++ b/thirdparty/nlohmann-json/CMakeLists.txt @@ -1,4 +1,4 @@ # Update from https://github.com/nlohmann/json/releases -add_library(nlohmann_json INTERFACE "include/nlohmann/json.hpp" "include/nlohmann/json_fwd.hpp") +add_library(nlohmann_json INTERFACE) target_include_directories(nlohmann_json INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") add_library(nlohmann_json::nlohmann_json ALIAS nlohmann_json) -- GitLab