From 67aaae8a75cced8965d5f5d8167e643602a69922 Mon Sep 17 00:00:00 2001 From: Alex Vanderveen Date: Fri, 7 Aug 2026 03:56:04 -0400 Subject: [PATCH] buiild with ICE --- runtime/runtime.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/runtime/runtime.cmake b/runtime/runtime.cmake index d535c7d2..eee729b7 100644 --- a/runtime/runtime.cmake +++ b/runtime/runtime.cmake @@ -301,10 +301,18 @@ if(PSX_NETPLAY AND RECOMP_NET_ROOT AND EXISTS "${RECOMP_NET_ROOT}/CMakeLists.txt if(NOT TARGET recomp_net) set(RNET_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) set(RNET_BUILD_TESTS OFF CACHE BOOL "" FORCE) + # MotK lobby ice_p2p needs libjuice. Default ON with netplay; no FORCE + # so -DRNET_ENABLE_ICE=OFF still wins (LAN-only / offline configure). + set(RNET_ENABLE_ICE ON CACHE BOOL + "Build libjuice ICE transport (default ON with PSX_NETPLAY)") add_subdirectory("${RECOMP_NET_ROOT}" "${CMAKE_BINARY_DIR}/recomp-net") endif() set(PSXRECOMP_HAS_RECOMP_NET TRUE) - message(STATUS "psxrecomp: recomp-net netplay enabled (${RECOMP_NET_ROOT})") + if(RNET_ENABLE_ICE) + message(STATUS "psxrecomp: recomp-net netplay+ICE enabled (${RECOMP_NET_ROOT})") + else() + message(STATUS "psxrecomp: recomp-net netplay enabled, ICE off (${RECOMP_NET_ROOT})") + endif() else() set(PSXRECOMP_HAS_RECOMP_NET FALSE) if(PSX_NETPLAY)