Files
armadillo-code/configure
T
2024-06-12 13:37:45 +10:00

24 lines
417 B
Bash
Executable File

#!/bin/sh
ABORT=no
check_cmake()
{
(cmake --version) </dev/null >/dev/null 2>&1 ||
{
echo "error: cmake (version 3.5+) is required to configure and install Armadillo"
echo ""
echo "cmake can be installed via the package manger on your system,"
echo "or downloaded from https://cmake.org"
ABORT=yes
}
}
check_cmake
test "$ABORT" = yes && exit -1
rm -f CMakeCache.txt
cmake $@ .