Unable to find Eigen3 with CMake

Turning my comment into an answer The find package scripts – like FindEigen3.cmake – normally use the find_path() command to detect the package’s include directory (see it’s documentation for the full details). FindEigen3.cmake uses the following code snippet: find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library PATHS ${CMAKE_INSTALL_PREFIX}/include ${KDE4_INCLUDE_DIR} PATH_SUFFIXES eigen3 eigen ) So it looks in CMAKE_INSTALL_PREFIX which on … Read more