2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/spirv-headers/build
2024-09-07 13:48:46 -05:00

12 lines
208 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSPIRV_HEADERS_ENABLE_TESTS=OFF \
-DSPIRV_HEADERS_ENABLE_INSTALL=ON
cmake --build build
cmake --install build