aboutsummaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libjpeg-turbo/build')
-rwxr-xr-xextra/libjpeg-turbo/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libjpeg-turbo/build b/extra/libjpeg-turbo/build
new file mode 100755
index 00000000..650b25f5
--- /dev/null
+++ b/extra/libjpeg-turbo/build
@@ -0,0 +1,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