aboutsummaryrefslogtreecommitdiff
path: root/extra/libgit2/build
blob: 08881c6584004ab5d8e9a06f056cc448e1a81734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

export DESTDIR="$1"

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DBUILD_SHARED_LIBS=OFF \
    -DCMAKE_BUILD_TYPE=Release

cmake --build   build
cmake --install build