Add error message if eigen is not found at configure time (autotools). (#185)
* Add error message if eigen is not found at configure time (autotools). * Update configure.ac Co-Authored-By: fghoussen <fghoussen@users.noreply.github.com>
This commit is contained in:
committed by
Sylvestre Ledru
parent
a580f6fc10
commit
ad9f74b962
+1
-1
@@ -77,7 +77,7 @@ AC_ARG_ENABLE([icb-exmm],
|
||||
[AS_VAR_SET([enable_icb_exmm], [no])])
|
||||
|
||||
if test x"$enable_icb_exmm" != x"no"; then
|
||||
PKG_CHECK_MODULES([EIGEN3], [eigen3 >= 3.2])
|
||||
PKG_CHECK_MODULES([EIGEN3], [eigen3 >= 3.2], [], [AC_MSG_ERROR([Eigen not found. Give hints with PKG_CONFIG_PATH. Disable the need of this dependency using --disable-icb-exmm])])
|
||||
AC_LANG_PUSH([C++])
|
||||
CPPFLAGS_SAVE=$CPPFLAGS
|
||||
CPPFLAGS=$EIGEN3_CFLAGS
|
||||
|
||||
Reference in New Issue
Block a user