BBS:      TELESC.NET.BR
Assunto:  src/xptls/CMakeLists.txt
De:       Deuc¨
Data:     Thu, 7 May 2026 19:19:55 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/31025f03be71e82aaa147740
Modified Files:
	src/xptls/CMakeLists.txt
Log Message:
xptls: depend on xpdev target for portability defines

Replace the duplicated platform / HAS_STDINT_H / HAS_INTTYPES_H
checks with a single source of truth: link xpdev.  xpdev's
CMakeLists already publishes the right defines as PUBLIC on its
target, but xptls only borrowed xpdev's headers without linking,
so they didn't propagate.

Add xpdev as a subdirectory if the parent hasn't already (using
the same xpdev_DONE flag require_lib_dir uses, so syncterm's later
require_libs() doesn't double-add).

Fixes MSVC int8_t/int32_t/uint32_t redefinition errors caused by
gen_defs.h's typedef block firing without HAS_STDINT_H set.

Co-Authored-By: Claude Opus 4.7 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]