Skip to content

Commit 74d3756

Browse files
committed
Refs #21325: Do not include fastcdr code in RTD builds
Signed-off-by: eduponz <eduardoponz@eprosima.com>
1 parent ac42341 commit 74d3756

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fastdds_python/src/swig/fastdds.i

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ namespace xtypes {
133133
// Failing to do so will issue a warning, but will not stop the compilation.
134134
// However, the resulting derived class will **not** be considered as inheriting from the base class
135135

136+
#ifndef FASTDDS_DOCS_BUILD
136137
%include <fastcdr/config.h>
137138
%include "fastcdr/xcdr/optional.i"
139+
#endif
138140

139141
%include "fastdds/LibrarySettings.i"
140142
%include "fastdds/rtps/common/VendorId_t.i"

0 commit comments

Comments
 (0)