mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-14 12:56:59 +02:00
Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3109
25 lines
835 B
CMake
25 lines
835 B
CMake
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
add_library(yuzu-room STATIC EXCLUDE_FROM_ALL
|
|
yuzu_room.cpp
|
|
yuzu_room.h
|
|
yuzu_room.rc
|
|
)
|
|
|
|
target_link_libraries(yuzu-room PRIVATE common network)
|
|
if (ENABLE_WEB_SERVICE)
|
|
target_compile_definitions(yuzu-room PRIVATE ENABLE_WEB_SERVICE)
|
|
target_link_libraries(yuzu-room PRIVATE web_service)
|
|
endif()
|
|
|
|
target_link_libraries(yuzu-room PRIVATE MbedTLS::mbedcrypto${MBEDTLS_LIB_SUFFIX} MbedTLS::mbedtls${MBEDTLS_LIB_SUFFIX})
|
|
if (MSVC)
|
|
target_link_libraries(yuzu-room PRIVATE getopt)
|
|
endif()
|
|
target_link_libraries(yuzu-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
|
|
|
create_target_directory_groups(yuzu-room)
|