buildfix: expand Eigen include dir in cmake

This commit is contained in:
Johann Dreo 2013-04-19 09:46:58 +02:00
commit c6f7707c05

View file

@ -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" )