build: Expose ENABLE_SCRIPTING and ENABLE_WEB_SERVICE flags as public. (#6872)

This commit is contained in:
Steveice10 2023-08-07 03:12:49 -07:00 committed by GitHub
parent 5b52849f90
commit 6d0cd5b00e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 14 deletions

View file

@ -16,6 +16,7 @@ add_library(web_service STATIC
create_target_directory_groups(web_service)
target_compile_definitions(web_service PUBLIC -DENABLE_WEB_SERVICE)
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})