buildfix: expand Eigen include dir in cmake
This commit is contained in:
parent
3067f3f8e4
commit
c6f7707c05
1 changed files with 1 additions and 1 deletions
|
|
@ -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" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue