CMake: Remove PATHS from FindEigen3

Why do we need these? CMake checks the "obvious" paths for us.
This commit is contained in:
Sam Edwards 2018-10-18 15:56:25 -06:00
parent 8dd46eb736
commit cefc000235
1 changed files with 1 additions and 4 deletions

View File

@ -13,10 +13,7 @@
if(NOT EIGEN3_INCLUDE_DIR)
find_path(EIGEN3_INCLUDE_DIR
NAMES signature_of_eigen3_matrix_library
PATHS ${CMAKE_INSTALL_PREFIX}/include
${KDE4_INCLUDE_DIR}
PATH_SUFFIXES eigen3 eigen
)
PATH_SUFFIXES eigen3 eigen)
mark_as_advanced(EIGEN3_INCLUDE_DIR)
endif()