forked from kiss-community/repo
libjpeg-turbo: cleaner build
This commit is contained in:
parent
b322506cbb
commit
c8d801f227
@ -1,11 +1,13 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
cmake \
|
||||
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
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
||||
cmake --build build
|
||||
cmake --install build
|
||||
|
Loading…
Reference in New Issue
Block a user