__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/syncterm/CMakeLists.txt src/xptls/CMakeLists.txt

    From Deucе@VERT to Git commit to main/sbbs/master on Thu May 7 19:25:15 2026
    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) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net