Skip to content

Commit

Permalink
Fix configure
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 4, 2024
1 parent 6e7c38b commit 997a3df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ ENV \

WORKDIR /src/build

RUN cmake .. \
RUN LIBPROJ_FILENAME=$(ls -1 /usr/local/lib/libinternalproj.so.*.*.*.*) \
&& ln -s "${LIBPROJ_FILENAME}" "${LIBPROJ_FILENAME/libinternalproj/libproj}" \
&& cmake .. \
-GNinja \
-DCMAKE_C_FLAGS="-O2" \
-DCMAKE_CXX_FLAGS="-O2" \
Expand All @@ -82,7 +84,8 @@ RUN cmake .. \
-DBUILD_TESTING=OFF \
-DENABLE_TESTS=OFF \
-DCMAKE_PREFIX_PATH=/src/external/qt3dextra-headers/cmake \
-DWITH_3D=OFF
-DWITH_3D=OFF \
-DWITH_PDAL=OFF

RUN --mount=type=cache,target=/root/.ccache,id=ccache \
ccache --show-stats \
Expand Down

0 comments on commit 997a3df

Please sign in to comment.