Skip to content

Commit

Permalink
try to fix a bug on ArchLinux with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Jan 8, 2024
1 parent 4050ea8 commit 0fa3809
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ArchLinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,12 @@ RUN pacman -Sy --noconfirm unzip \
#
ENV CGAL_TEST_PLATFORM="ArchLinux" \
LEDA_INC_DIR=/usr/include/LEDA

# Try to fix a strange bug with clang
# where make complains about files in /include:
#
# Prerequisite '/include/c++/13.2.1/algorithm' of target 'test/AABB_tree_Demo/CMakeFiles/CGAL_Qt6_moc_and_resources.dir/CGAL_Qt6_moc_and_resources_autogen/mocs_compilation.cpp.o' does not exist.
RUN ln -s /usr/include /include

ENV INIT_FILE=/tmp/init.cmake
COPY init.cmake /tmp/init.cmake

0 comments on commit 0fa3809

Please sign in to comment.