added ninja backend

This commit is contained in:
Luis
2023-03-08 09:21:15 +00:00
parent f24c55ab08
commit 08230c3f52
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ build() {
# failed build with ccache, remove reom path
PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
cmake -S $name-$version -B build -G Ninja\
cmake -S $name-$version -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \

View File

@@ -7,7 +7,7 @@ release=1
source="$name-$version.tar.gz::https://bitbucket.org/multicoreware/${name}_git/downloads/${name}_$version.tar.gz"
build() {
cmake -S ${name}_${version}/source -B build -G Ninja \
cmake -S ${name}_${version}/source -B build -G Ninja \
-DHIGH_BIT_DEPTH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \