ports: Cleanup projects using cmake

There is no need to use $BANAN_CMAKE because our own toolchain directory
is added to path.
This commit is contained in:
2026-01-10 19:31:24 +02:00
parent 7a49a0d986
commit 83e5cb81e8
13 changed files with 38 additions and 47 deletions

View File

@@ -6,7 +6,7 @@ DOWNLOAD_URL="https://github.com/libsdl-org/SDL_image/releases/download/release-
DEPENDENCIES=('SDL2' 'libpng' 'libjpeg' 'libtiff' 'libwebp')
configure() {
$BANAN_CMAKE --fresh -S . -B build -G Ninja \
cmake --fresh -S . -B build -G Ninja \
--toolchain="$BANAN_TOOLCHAIN_DIR/Toolchain.txt" \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_BUILD_TYPE=Release \
@@ -15,9 +15,9 @@ configure() {
}
build() {
$BANAN_CMAKE --build build || exit 1
cmake --build build || exit 1
}
install() {
$BANAN_CMAKE --install build || exit 1
cmake --install build || exit 1
}