Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
6f4aa3a4
Commit
6f4aa3a4
authored
Dec 09, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated FindEigen3.cmake with newest from Eigen-3.3.1
parent
cf73dc0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
cmake/FindEigen3.cmake
cmake/FindEigen3.cmake
+23
-7
No files found.
cmake/FindEigen3.cmake
View file @
6f4aa3a4
...
@@ -9,6 +9,12 @@
...
@@ -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>
...
@@ -60,13 +66,23 @@ if (EIGEN3_INCLUDE_DIR)
...
@@ -60,13 +66,23 @@ if (EIGEN3_INCLUDE_DIR)
set
(
EIGEN3_FOUND
${
EIGEN3_VERSION_OK
}
)
set
(
EIGEN3_FOUND
${
EIGEN3_VERSION_OK
}
)
else
(
EIGEN3_INCLUDE_DIR
)
else
(
EIGEN3_INCLUDE_DIR
)
find_path
(
EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
# search first if an Eigen3Config.cmake is available in the system,
PATHS
# if successful this would set EIGEN3_INCLUDE_DIR and the rest of
${
CMAKE_INSTALL_PREFIX
}
/include
# the script will work as usual
${
KDE4_INCLUDE_DIR
}
find_package
(
Eigen3
${
Eigen3_FIND_VERSION
}
NO_MODULE QUIET
)
PATH_SUFFIXES eigen3 eigen
)
if
(
NOT EIGEN3_INCLUDE_DIR
)
find_path
(
EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library
HINTS
ENV EIGEN3_ROOT
ENV EIGEN3_ROOT_DIR
PATHS
${
CMAKE_INSTALL_PREFIX
}
/include
${
KDE4_INCLUDE_DIR
}
PATH_SUFFIXES eigen3 eigen
)
endif
(
NOT EIGEN3_INCLUDE_DIR
)
if
(
EIGEN3_INCLUDE_DIR
)
if
(
EIGEN3_INCLUDE_DIR
)
_eigen3_check_version
()
_eigen3_check_version
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment