diff --git a/thirdparty/nlohmann-json/CMakeLists.txt b/thirdparty/nlohmann-json/CMakeLists.txt
index b6dea9e6fbc9c2e6152f824a380c2a5646b1f560..d9d832673320e54de86dd48c14eaf8c04282171a 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)