From 719384d4ab2aeae62697da2fcf981fb3408aae5c Mon Sep 17 00:00:00 2001 From: eduponz Date: Sat, 20 Jul 2024 07:04:53 +0200 Subject: [PATCH] Refs #21325: Do not include fastcdr code in RTD builds Signed-off-by: eduponz --- fastdds_python/src/swig/fastdds.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastdds_python/src/swig/fastdds.i b/fastdds_python/src/swig/fastdds.i index 8f3cf7aa..ca7a2fa9 100644 --- a/fastdds_python/src/swig/fastdds.i +++ b/fastdds_python/src/swig/fastdds.i @@ -133,8 +133,10 @@ namespace xtypes { // Failing to do so will issue a warning, but will not stop the compilation. // However, the resulting derived class will **not** be considered as inheriting from the base class +#ifndef FASTDDS_DOCS_BUILD %include %include "fastcdr/xcdr/optional.i" +#endif %include "fastdds/LibrarySettings.i" %include "fastdds/rtps/common/VendorId_t.i"