aboutsummaryrefslogtreecommitdiff
path: root/extra/spirv-headers/build
blob: 62f6c6edc29ad39ef225e63176fbeee02246138c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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