From 8c73710fbe4c49b5c37609ab5e31263c31d57a42 Mon Sep 17 00:00:00 2001 From: crueter Date: Thu, 9 Apr 2026 00:56:19 -0400 Subject: [PATCH] Fix room Signed-off-by: crueter --- CMakeLists.txt | 6 +++--- src/common/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28de5dec47..b8fb0a9d83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -425,10 +425,10 @@ if (zstd_ADDED) add_library(zstd::libzstd ALIAS libzstd_static) endif() -if (NOT YUZU_STATIC_ROOM) - # nlohmann - AddJsonPackage(nlohmann) +# nlohmann +AddJsonPackage(nlohmann) +if (NOT YUZU_STATIC_ROOM) # zlib AddJsonPackage(zlib) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index c7c8bce356..fb2bdda146 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -246,7 +246,7 @@ else() target_link_libraries(common PUBLIC Boost::headers) endif() -target_link_libraries(common PUBLIC Boost::filesystem Boost::context httplib::httplib) +target_link_libraries(common PUBLIC Boost::filesystem Boost::context httplib::httplib nlohmann_json::nlohmann_json) if (lz4_ADDED) target_include_directories(common PRIVATE ${lz4_SOURCE_DIR}/lib)