forked from eden-emu/eden
I promise I'm a UI developer - mbedtls can now be used as a system package - zycore can now be used as a system package - cleaned up dynarmic externals - fixed libusb incorrectly showing as bundled - add version/tag formatting to JSON - add custom GIT_HOST option for packages - moved some of my repos to my new git - slightly better version identification - combined VUL/VH since they are codependent (using my combo vendor) - fix cpmfile inclusion - remove libusb submodule This PR succeeds #383 since it includes it Co-authored-by: SDK Chan <sdkchan@eden-emu.dev> Reviewed-on: eden-emu/eden#392 Co-authored-by: crueter <crueter@crueter.xyz> Co-committed-by: crueter <crueter@crueter.xyz>
38 lines
1,010 B
CMake
38 lines
1,010 B
CMake
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
add_library(network STATIC
|
|
announce_multiplayer_session.cpp
|
|
announce_multiplayer_session.h
|
|
network.cpp
|
|
network.h
|
|
packet.cpp
|
|
packet.h
|
|
precompiled_headers.h
|
|
room.cpp
|
|
room.h
|
|
room_member.cpp
|
|
room_member.h
|
|
verify_user.cpp
|
|
verify_user.h
|
|
)
|
|
|
|
create_target_directory_groups(network)
|
|
|
|
target_link_libraries(network PRIVATE common enet Boost::headers)
|
|
if (ENABLE_WEB_SERVICE)
|
|
target_compile_definitions(network PRIVATE ENABLE_WEB_SERVICE)
|
|
target_link_libraries(network PRIVATE web_service)
|
|
endif()
|
|
|
|
# Solaris uses /lib/amd64/libsocket.so and /lib/amd64/libnsl.so
|
|
if (PLATFORM_SUN)
|
|
target_link_libraries(network PRIVATE socket nsl)
|
|
endif()
|
|
|
|
if (YUZU_USE_PRECOMPILED_HEADERS)
|
|
target_precompile_headers(network PRIVATE precompiled_headers.h)
|
|
endif()
|