Files
armadillo-code/configure
T
2024-06-21 20:29:03 +10:00

24 lines
413 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 your system's package manager,"
echo "or downloaded from https://cmake.org"
ABORT=yes
}
}
check_cmake
test "$ABORT" = yes && exit -1
rm -f CMakeCache.txt
cmake $@ .