cmake: prefer system libraries

This commit is contained in:
Alexandre Bouvier 2022-11-25 19:35:46 +01:00
parent f4b5570e7c
commit 8e17b5469f
18 changed files with 209 additions and 86 deletions

View file

@ -17,7 +17,7 @@ add_library(web_service STATIC
)
create_target_directory_groups(web_service)
target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib cpp-jwt)
target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib::httplib cpp-jwt::cpp-jwt)
if (YUZU_USE_PRECOMPILED_HEADERS)
target_precompile_headers(web_service PRIVATE precompiled_headers.h)