mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
updating FindEigen2.cmake for proper search order
This commit is contained in:
@@ -16,10 +16,10 @@ if (EIGEN2_INCLUDE_DIR)
|
|||||||
else (EIGEN2_INCLUDE_DIR)
|
else (EIGEN2_INCLUDE_DIR)
|
||||||
|
|
||||||
find_path(EIGEN2_INCLUDE_DIR NAMES Eigen/Core
|
find_path(EIGEN2_INCLUDE_DIR NAMES Eigen/Core
|
||||||
PATHS
|
PATH_SUFFIXES eigen2
|
||||||
|
HINTS
|
||||||
${INCLUDE_INSTALL_DIR}
|
${INCLUDE_INSTALL_DIR}
|
||||||
${KDE4_INCLUDE_DIR}
|
${KDE4_INCLUDE_DIR}
|
||||||
PATH_SUFFIXES eigen2
|
|
||||||
)
|
)
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|||||||
Reference in New Issue
Block a user