view armadillo-2.4.4/configure @ 3:e0ff3b0c7316

Other libs Added
author maxzanoni76 <max.zanoni@eecs.qmul.ac.uk>
date Wed, 11 Apr 2012 09:58:31 +0100
parents 8b6102e2a9b0
children
line wrap: on
line source
#!/bin/sh

ABORT=no

check_cmake()
  {
  (cmake --version) </dev/null >/dev/null 2>&1 ||
    {
    echo "error: cmake 2.6 must be present to configure and install Armadillo"
    echo ""
    echo "cmake might be available as a package for your system,"
    echo "or can be downloaded from http://cmake.org"
    ABORT=yes
    }
  }

check_cmake

test "$ABORT" = yes && exit -1

rm -f CMakeCache.txt
cmake .