From eea8811c81c22e91f2441ca162a97ea69fddf0f8 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 3cddd72e97..b4e261fec9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -424,10 +424,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)