2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-19 13:10:07 -07:00
repo/extra/json-c/build
2023-03-05 17:34:06 -06:00

14 lines
251 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DDISABLE_EXTRA_LIBS=ON \
-DBUILD_TESTING=OFF
cmake --build build
cmake --install build