fix eigen3 find bug

master
Don Bright 2014-03-27 18:23:07 -05:00
parent 45ef0c9a6e
commit 49d32100df
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ eigen_sysver()
{ {
debug eigen debug eigen
eigpath=$1/include/eigen3/Eigen/src/Core/util/Macros.h eigpath=$1/include/eigen3/Eigen/src/Core/util/Macros.h
debug $eig2path debug $eigpath
if [ ! $eigpath ]; then return; fi if [ ! -e $eigpath ]; then return; fi
eswrld=`grep "define *EIGEN_WORLD_VERSION *[0-9]*" $eigpath | awk '{print $3}'` eswrld=`grep "define *EIGEN_WORLD_VERSION *[0-9]*" $eigpath | awk '{print $3}'`
esmaj=`grep "define *EIGEN_MAJOR_VERSION *[0-9]*" $eigpath | awk '{print $3}'` esmaj=`grep "define *EIGEN_MAJOR_VERSION *[0-9]*" $eigpath | awk '{print $3}'`
esmin=`grep "define *EIGEN_MINOR_VERSION *[0-9]*" $eigpath | awk '{print $3}'` esmin=`grep "define *EIGEN_MINOR_VERSION *[0-9]*" $eigpath | awk '{print $3}'`