From b322506cbb3ae7814255e4a1008d10dfde9d39da Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 13 Nov 2019 02:33:07 +0000 Subject: [PATCH] x265: cleaner build --- extra/x265/build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/extra/x265/build b/extra/x265/build index dd36e5c7..40683a7f 100755 --- a/extra/x265/build +++ b/extra/x265/build @@ -1,9 +1,10 @@ #!/bin/sh -e -cmake \ +export DESTDIR="$1" + +cmake source \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ - ./source -make -make DESTDIR="$1" install +cmake --build . +cmake --install .