From a1a5403a490eca4ff65a2e201646d5186f3a1095 Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 7 Mar 2013 10:29:04 +0100 Subject: [PATCH] Message if we try to build EDO tests without Eigen3 --- edo/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/edo/CMakeLists.txt b/edo/CMakeLists.txt index 41a6b476e..1c721097d 100644 --- a/edo/CMakeLists.txt +++ b/edo/CMakeLists.txt @@ -31,6 +31,10 @@ add_subdirectory(src) if(ENABLE_CMAKE_TESTING AND EIGEN3_FOUND) # see edoNormalAdaptive add_subdirectory(test) +else() + if( NOT EIGEN3_FOUND ) + message("Eigen3 has not been found, cannot build EDO tests") + endif() endif() if(ENABLE_CMAKE_EXAMPLE)