Skip to content

Commit

Permalink
Compile tetgen with fpic
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandaisb committed Jun 24, 2024
1 parent aea4975 commit 7c2f345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockerfiles/Dockerfile.cmake-cgcore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ RUN PRJ=mesquite-2.3.0 &&\
RUN PRJ=tetgen1.6.0 &&\
curl -L http://www.tetgen.org/1.5/src/tetgen1.6.0.tar.gz | tar xz --directory src &&\
cd src/${PRJ} &&\
cp makefile makefile.old &&\
sed "s%CXX = g++%CXX = g++ -fPIC%g" makefile.old > makefile &&\
make &&\
make tetlib &&\
mkdir ${INSTALL_DIR}/${PRJ} &&\
Expand Down

0 comments on commit 7c2f345

Please sign in to comment.