Fix compilation without ENABLE_WEB_SERVICE (#6856)

This commit is contained in:
GPUCode 2023-08-06 22:23:53 +03:00 committed by GitHub
parent aaeba6759e
commit 0048e61fc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 60 additions and 54 deletions

View file

@ -16,7 +16,6 @@ add_library(web_service STATIC
create_target_directory_groups(web_service)
target_compile_definitions(web_service PRIVATE -DCPPHTTPLIB_OPENSSL_SUPPORT)
target_link_libraries(web_service PRIVATE citra_common network json-headers httplib cpp-jwt)
target_link_libraries(web_service PUBLIC ${OPENSSL_LIBS})
set_target_properties(web_service PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO})