2026-04-06 19:13:09 +02:00
|
|
|
# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
2022-05-15 02:06:02 +02:00
|
|
|
# SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2018-09-16 20:05:51 +02:00
|
|
|
add_library(web_service STATIC
|
2021-12-25 20:27:52 +01:00
|
|
|
announce_room_json.cpp
|
|
|
|
|
announce_room_json.h
|
2018-09-16 20:05:51 +02:00
|
|
|
verify_login.cpp
|
|
|
|
|
verify_login.h
|
2022-07-15 19:45:35 +02:00
|
|
|
verify_user_jwt.cpp
|
|
|
|
|
verify_user_jwt.h
|
2018-09-16 20:05:51 +02:00
|
|
|
web_backend.cpp
|
|
|
|
|
web_backend.h
|
2020-08-22 19:23:22 -04:00
|
|
|
web_result.h
|
2018-09-16 20:05:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
create_target_directory_groups(web_service)
|
2025-08-04 04:50:14 +02:00
|
|
|
target_include_directories(web_service PUBLIC ${cpp-jwt_SOURCE_DIR}/include)
|
2025-08-14 20:30:30 +02:00
|
|
|
target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib::httplib cpp-jwt::cpp-jwt)
|
|
|
|
|
|
2025-08-23 19:42:49 +02:00
|
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
|
target_link_libraries(web_service PRIVATE OpenSSL::SSL OpenSSL::Crypto)
|