forked from kiss-community/repo
cmake: update for new env
This commit is contained in:
parent
da3cec65bc
commit
b5778a061c
@ -3,8 +3,6 @@
|
|||||||
patch -p1 < cmake-no-execinfo.patch
|
patch -p1 < cmake-no-execinfo.patch
|
||||||
|
|
||||||
if kiss l cmake; then
|
if kiss l cmake; then
|
||||||
export DESTDIR="$1"
|
|
||||||
|
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
@ -26,7 +24,7 @@ else
|
|||||||
--system-bzip2
|
--system-bzip2
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" install
|
make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
Loading…
Reference in New Issue
Block a user