aboutsummaryrefslogtreecommitdiff
path: root/extra/json-c/build
blob: 7f4f480bb94506123979c0d90d6f6f55afe2293d (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=lib \
    -DCMAKE_BUILD_TYPE=Release \
    -DBUILD_TESTING=OFF

cmake --build   build
cmake --install build