Skip to content

Commit

Permalink
Add error message if eigen is not found at configure time (autotools).
Browse files Browse the repository at this point in the history
  • Loading branch information
fghoussen committed Jan 12, 2019
1 parent a580f6f commit c037179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])])
AC_LANG_PUSH([C++])
CPPFLAGS_SAVE=$CPPFLAGS
CPPFLAGS=$EIGEN3_CFLAGS
Expand Down

0 comments on commit c037179

Please sign in to comment.