remove dedicated_room dependence on core
This commit is contained in:
@@ -7,13 +7,13 @@ add_executable(citra-room
|
||||
|
||||
create_target_directory_groups(citra-room)
|
||||
|
||||
target_link_libraries(citra-room PRIVATE common core network)
|
||||
target_link_libraries(citra-room PRIVATE common network)
|
||||
if (ENABLE_WEB_SERVICE)
|
||||
target_compile_definitions(citra-room PRIVATE -DENABLE_WEB_SERVICE)
|
||||
target_link_libraries(citra-room PRIVATE web_service)
|
||||
endif()
|
||||
|
||||
target_link_libraries(citra-room PRIVATE cryptopp glad)
|
||||
target_link_libraries(citra-room PRIVATE cryptopp)
|
||||
if (MSVC)
|
||||
target_link_libraries(citra-room PRIVATE getopt)
|
||||
endif()
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include "common/logging/log.h"
|
||||
#include "common/scm_rev.h"
|
||||
#include "common/string_util.h"
|
||||
#include "core/announce_multiplayer_session.h"
|
||||
#include "network/announce_multiplayer_session.h"
|
||||
#include "network/network.h"
|
||||
#include "network/network_settings.h"
|
||||
#include "network/room.h"
|
||||
@@ -342,7 +342,7 @@ int main(int argc, char** argv) {
|
||||
return -1;
|
||||
}
|
||||
std::cout << "Room is open. Close with Q+Enter...\n\n";
|
||||
auto announce_session = std::make_unique<Core::AnnounceMultiplayerSession>();
|
||||
auto announce_session = std::make_unique<Network::AnnounceMultiplayerSession>();
|
||||
if (announce) {
|
||||
announce_session->Start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user