diff --git a/edo/CMakeLists.txt b/edo/CMakeLists.txt index 1c721097d..50424db45 100644 --- a/edo/CMakeLists.txt +++ b/edo/CMakeLists.txt @@ -10,7 +10,7 @@ if(EDO_USE_LIB STREQUAL "uBLAS") elseif(EDO_USE_LIB STREQUAL "Eigen3") find_package(Eigen3) if(EIGEN3_FOUND) - include_directories(EIGEN3_INCLUDE_DIR) + include_directories( ${EIGEN3_INCLUDE_DIR} ) add_definitions( -DWITH_EIGEN ) else() message(FATAL_ERROR "\n\nERROR: You asked for Eigen3 but it has not been found.\n" )