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
5c0f254c
Commit
5c0f254c
authored
Mar 06, 2017
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the included Eigen by default, but allow to override EIGEN3_INCLUDE_DIR
parent
351e6959
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt
CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
5c0f254c
...
...
@@ -50,7 +50,11 @@ endif()
find_package
(
Boost 1.50.0 COMPONENTS system REQUIRED
)
message
(
STATUS
"Boost found at
${
Boost_INCLUDE_DIRS
}
"
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/3rdparty/eigen/cmake
)
# Use the Eigen included in the submodule by default, but allow the user to override EIGEN3_INCLUDE_DIR:
if
(
NOT DEFINED EIGEN3_INCLUDE_DIR
)
set
(
EIGEN3_INCLUDE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/3rdparty/eigen
)
endif
()
find_package
(
Eigen3 REQUIRED
)
message
(
STATUS
"Eigen3 found:
${
EIGEN3_FOUND
}
, version:
${
EIGEN3_VERSION
}
"
)
message
(
STATUS
"Eigen3 include dir found at
${
EIGEN3_INCLUDE_DIR
}
"
)
...
...
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