2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/json-c/build

14 lines
251 B
Plaintext
Raw Normal View History

2021-07-07 16:16:27 -06:00
#!/bin/sh -e
2023-03-02 07:40:00 -07:00
export DESTDIR="$1"
2021-07-07 16:16:27 -06:00
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DDISABLE_EXTRA_LIBS=ON \
2021-07-07 16:16:27 -06:00
-DBUILD_TESTING=OFF
cmake --build build
cmake --install build