kiss-mfavila-small/community-mod/rolling/slop-git/build

14 lines
256 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
cmake -B build \
-DGLM_INCLUDE_DIR="$PWD/glm" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DSLOP_OPENGL=False
cmake --build build
cmake --install build