From 22d009c7bb6603673037e52f0924162fc3b8ee55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 27 Oct 2026 23:13:36 +0100 Subject: [PATCH] CMake: Build the relay server with the current aemu_postoffice The server now needs enet, common.cpp and snapshot.cpp, and builds as C++17. It takes enet's implementation from the client library. Co-Authored-By: Claude Opus 5.5 --- ext/CMakeLists.txt | 7 +++---- ext/aemu_postoffice | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index 5a0507c43d..d68282f439 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -90,6 +90,9 @@ set(aemu_postoffice_server_obj aemu_postoffice/server_cpp/session.cpp aemu_postoffice/server_cpp/semaphore.cpp aemu_postoffice/server_cpp/log.cpp + aemu_postoffice/server_cpp/common.cpp + aemu_postoffice/server_cpp/enet.cpp + aemu_postoffice/server_cpp/snapshot.cpp ) if(WIN32) @@ -108,10 +111,6 @@ add_library(aemu_postoffice_server STATIC ${aemu_postoffice_server_obj} ) -set_target_properties(aemu_postoffice_server - PROPERTIES - CXX_STANDARD 20 -) set(FT_REQUIRE_ZLIB OFF CACHE BOOL "" FORCE) set(FT_REQUIRE_BZIP2 OFF CACHE BOOL "" FORCE) diff --git a/ext/aemu_postoffice b/ext/aemu_postoffice index ef5ad120f8..71600a6475 160000 --- a/ext/aemu_postoffice +++ b/ext/aemu_postoffice @@ -1 +1 @@ -Subproject commit ef5ad120f8f2692b6151ede4de2d5263ebbc27d6 +Subproject commit 71600a6475c143f4fe9fd4c2f3dd3edc5b6e3896