mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
Merged in traversaro/eigen/traversaro/findeigen3cmake-add-reading-hints-of-eig-1407426517521 (pull request PR-76)
FindEigen3.cmake: Add reading hints of Eigen directory location from environment variables EIGEN3_ROOT and EIGEN3_ROOT_DIR .
This commit is contained in:
commit
9062f74d13
@ -9,6 +9,12 @@
|
|||||||
# EIGEN3_FOUND - system has eigen lib with correct version
|
# EIGEN3_FOUND - system has eigen lib with correct version
|
||||||
# EIGEN3_INCLUDE_DIR - the eigen include directory
|
# EIGEN3_INCLUDE_DIR - the eigen include directory
|
||||||
# EIGEN3_VERSION - eigen version
|
# EIGEN3_VERSION - eigen version
|
||||||
|
#
|
||||||
|
# This module reads hints about search locations from
|
||||||
|
# the following enviroment variables:
|
||||||
|
#
|
||||||
|
# EIGEN3_ROOT
|
||||||
|
# EIGEN3_ROOT_DIR
|
||||||
|
|
||||||
# Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
|
# Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
|
||||||
# Copyright (c) 2008, 2009 Gael Guennebaud, <g.gael@free.fr>
|
# Copyright (c) 2008, 2009 Gael Guennebaud, <g.gael@free.fr>
|
||||||
@ -62,6 +68,9 @@ if (EIGEN3_INCLUDE_DIR)
|
|||||||
else (EIGEN3_INCLUDE_DIR)
|
else (EIGEN3_INCLUDE_DIR)
|
||||||
|
|
||||||
find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
|
find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
|
||||||
|
HINTS
|
||||||
|
ENV EIGEN3_ROOT
|
||||||
|
ENV EIGEN3_ROOT_DIR
|
||||||
PATHS
|
PATHS
|
||||||
${CMAKE_INSTALL_PREFIX}/include
|
${CMAKE_INSTALL_PREFIX}/include
|
||||||
${KDE4_INCLUDE_DIR}
|
${KDE4_INCLUDE_DIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user