aboutsummaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/build
blob: 650b25f5950ef4cc4761cc6cf2ecf037b13469c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

export DESTDIR="$1"

cmake -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DCMAKE_SHARED_LIBS=True \
    -DCMAKE_BUILD_TYPE=Release \
    -DWITH_JPEG8=1

cmake --build   build
cmake --install build