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:
@@ -5,9 +5,8 @@ VERSION='1.0.2'
|
||||
DOWNLOAD_URL="https://github.com/g-truc/glm/archive/refs/tags/$VERSION.tar.gz#19edf2e860297efab1c74950e6076bf4dad9de483826bc95e2e0f2c758a43f65"
|
||||
|
||||
configure() {
|
||||
$BANAN_CMAKE \
|
||||
cmake --fresh -B build -S . -G Ninja \
|
||||
--toolchain="$BANAN_TOOLCHAIN_DIR/Toolchain.txt" \
|
||||
-B build -G Ninja --fresh . \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DGLM_BUILD_TESTS=OFF \
|
||||
@@ -15,9 +14,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user