BBS: TELESC.NET.BR Assunto: src/syncterm/CMakeLists.txt src/xptls/CMakeLists.txt De: Deuc¨ Data: Thu, 7 May 2026 19:25:15 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/b95449436879635bbab9c495 Modified Files: src/syncterm/CMakeLists.txt src/xptls/CMakeLists.txt Log Message: syncterm/xptls: fix add_subdirectory ordering for xpdev dep Move syncterm's add_subdirectory(../xptls ...) to after require_libs() so xpdev is already a target when xptls is processed. Without that, xptls's "if(NOT TARGET xpdev) add_subdirectory(../xpdev ...)" fired in xptls's scope and require_libs() then re-added xpdev in syncterm's scope, hitting CMP0002 (duplicate target). With the ordering correct, the fallback branch in xptls is only reached for standalone builds where there's no parent at all plain set() works there, so drop the CACHE INTERNAL workaround. Co-Authored-By: Claude Opus 4.7 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]