build-system: get ready for switching to libgit2 1.0

We want to build this against its own regex package to avoid adding more system
dependencies.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-04-18 14:42:23 -07:00
parent c8f40c57c9
commit da5aa06cc0

View file

@ -54,7 +54,7 @@ override_dh_auto_configure:
make -j8 ; \
make install)
(mkdir libgit2/build ; cd libgit2/build ; \
cmake -DCMAKE_INSTALL_PREFIX=$(MY_INSTALL_ROOT) -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DBUILD_EXAMPLES=OFF .. ; \
cmake -DCMAKE_INSTALL_PREFIX=$(MY_INSTALL_ROOT) -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DREGEX_BACKEND=builtin .. ; \
make -j8 ; \
make install)
(mkdir subsurface-build ; cd subsurface-build ; \