Skip to content

Commit 2473699

Browse files
committed
Merge pull request #20 from wpoely86/eigendir
Only look in the include dir of EIGEN_ROOT
2 parents 1d53a58 + 888d1a6 commit 2473699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/custom/eigen.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define: '-DEIGEN3_ROOT="{0}"'.format(arguments['--eigen'])
1212

1313
if(EIGEN3_ROOT)
14-
set(EIGEN3_INCLUDE_DIR ${EIGEN3_ROOT}/include/eigen3)
14+
set(EIGEN3_INCLUDE_DIR ${EIGEN3_ROOT}/include)
1515
find_package(Eigen3 3.1.0)
1616
message(STATUS "Eigen " ${EIGEN3_VERSION} " is located here: " ${EIGEN3_INCLUDE_DIR})
1717
if(NOT EIGEN3_FOUND)

0 commit comments

Comments
 (0)