repo/extra/json-c/build
2021-07-08 10:53:00 +03:00

13 lines
221 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 \
-DBUILD_TESTING=OFF
cmake --build build
cmake --install build