2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

cmake: use bundled libs

This commit is contained in:
Dylan Araps 2019-11-17 01:38:48 +00:00
parent 3a36ae23fb
commit d63fa1a5fe
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 15 additions and 2 deletions

View File

@ -7,14 +7,23 @@ if kiss l cmake; then
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_USE_SYSTEM_CURL=True \
-DCMAKE_USE_SYSTEM_EXPAT=True \
-DCMAKE_USE_SYSTEM_ZLIB=True \
-DCMAKE_USE_SYSTEM_BZIP2=True
cmake --build build
DESTDIR="$1" cmake --install build
else
./configure \
--prefix=/usr
--prefix=/usr \
--system-curl \
--system-expat \
--system-zlib \
--system-bzip2 \
--parallel="$(nproc)"
make
make DESTDIR="$1" install

View File

@ -1 +1,5 @@
bzip2
curl
expat
libressl
zlib