kiss-mfavila-small/community-mod/stable/maim/build
2021-07-28 18:38:44 +00:00

14 lines
246 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
# Use local glm headers.
sed -i 's|<glm/glm\.hpp>|"../glm/glm/glm.hpp"|' src/*.?pp
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build