diff --git a/modules/core/test/math/testMatrixPseudoInverse.cpp b/modules/core/test/math/testMatrixPseudoInverse.cpp index 3b8708754f..914af147e7 100644 --- a/modules/core/test/math/testMatrixPseudoInverse.cpp +++ b/modules/core/test/math/testMatrixPseudoInverse.cpp @@ -595,7 +595,7 @@ int test_pseudo_inverse_eigen3(bool verbose, const std::vector &bench, } #endif -#if defined(VISP_HAVE_EIGEN3) +#if defined(VISP_HAVE_LAPACK) int test_pseudo_inverse_lapack(bool verbose, const std::vector &bench, std::vector &time) { if (verbose)