docker: fixing assimp cmake related error

This commit is contained in:
matlabbe
2023-02-04 21:10:34 -08:00
parent 5fd0448924
commit 67ca39514a
3 changed files with 6 additions and 0 deletions

View File

@@ -117,6 +117,8 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone https://github.com/
make install && \
cd && \
rm -r assimp; fi
# Ignore assimp installed from ros, as it has invalid "/usr/lib/include" in its target, making rtabmap's cmake fails
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then rm -rf /usr/lib/x86_64-linux-gnu/cmake/assimp*
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone https://github.com/alicevision/geogram.git && \
cd geogram && \
git checkout v1.7.6 && \