mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 10:09:36 +08:00
updating FindEigen2.cmake for proper search order
This commit is contained in:
parent
6c84b03d77
commit
28e15574df
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user