ROS2Native: Force fast-dds dependencies download to avoid build crash when boost_asio and tinyxml2 are not installed in the system

This commit is contained in:
xavisolesoft 2024-03-20 08:23:37 +00:00 committed by Blyron
parent 3fdd2c2e52
commit cde95817ca
1 changed files with 2 additions and 1 deletions

View File

@ -960,7 +960,8 @@ if ${USE_ROS2} ; then
-DCMAKE_INSTALL_PREFIX="${FASTDDS_INSTALL_DIR}" \
-DCMAKE_CXX_FLAGS=-latomic \
-DCMAKE_CXX_FLAGS_RELEASE="-D_GLIBCXX_USE_CXX11_ABI=0" \
\
-DTHIRDPARTY_Asio=FORCE \
-DTHIRDPARTY_TinyXML2=FORCE \
..
ninja
ninja install