mirror of
https://github.com/PabloMK7/citra.git
synced 2025-01-19 02:13:05 +01:00
30 lines
747 B
CMake
30 lines
747 B
CMake
add_library(network STATIC
|
|
announce_multiplayer_session.cpp
|
|
announce_multiplayer_session.h
|
|
network.cpp
|
|
network.h
|
|
network_settings.cpp
|
|
network_settings.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)
|
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
target_link_libraries(network PRIVATE web_service)
|
|
endif()
|
|
|
|
target_link_libraries(network PRIVATE citra_common enet Boost::serialization httplib)
|
|
set_target_properties(network PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO})
|
|
|
|
if (CITRA_USE_PRECOMPILED_HEADERS)
|
|
target_precompile_headers(network PRIVATE precompiled_headers.h)
|
|
endif()
|