diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-06-19 22:17:56 +1000 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-06-19 22:17:56 +1000 |
commit | c7ed7d94279082600eb75218ebe8b4cc6a3ab0d0 (patch) | |
tree | 318c157fe64cca488593415f62178194ba211965 /src/core | |
parent | 0f7822acb17a8c2534792b074a6181abfb95ec69 (diff) |
Fix compilation when not building with boxcat
Fixes compilation when trying to build without boxcat enabled
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 47418006b..cb9ced5c9 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -606,11 +606,11 @@ endif() create_target_directory_groups(core) target_link_libraries(core PUBLIC common PRIVATE audio_core video_core) -target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt::fmt nlohmann_json::nlohmann_json mbedtls Opus::Opus unicorn) +target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt::fmt nlohmann_json::nlohmann_json mbedtls Opus::Opus unicorn zip) if (YUZU_ENABLE_BOXCAT) target_compile_definitions(core PRIVATE -DYUZU_ENABLE_BOXCAT) - target_link_libraries(core PRIVATE httplib nlohmann_json::nlohmann_json zip) + target_link_libraries(core PRIVATE httplib nlohmann_json::nlohmann_json) endif() if (ENABLE_WEB_SERVICE) |