Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gabriele Buondonno
pinocchio
Commits
32fde4cb
Commit
32fde4cb
authored
Jun 14, 2017
by
jcarpent
Browse files
[CMake] Handle precise version of Eigen
parent
27da4101
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
32fde4cb
...
...
@@ -87,6 +87,11 @@ IF(EIGEN3_FOUND)
ADD_DEFINITIONS
(
-DEIGEN3_FUTURE
)
SET
(
EIGEN3_FUTURE TRUE
)
PKG_CONFIG_APPEND_CFLAGS
(
"-DEIGEN3_FUTURE"
)
IF
(
${
EIGEN3_VERSION
}
VERSION_LESS
"3.3.0"
)
ADD_DEFINITIONS
(
-DEIGEN3_BETA_3_2_9x
)
SET
(
EIGEN3_FUTURE TRUE
)
PKG_CONFIG_APPEND_CFLAGS
(
"-DEIGEN3_BETA_3_2_9x"
)
ENDIF
(
${
EIGEN3_VERSION
}
VERSION_LESS
"3.3.0"
)
ELSE
(
${
EIGEN3_VERSION
}
VERSION_GREATER
"3.2.10"
)
SET
(
EIGEN3_FUTURE FALSE
)
ENDIF
(
${
EIGEN3_VERSION
}
VERSION_GREATER
"3.2.10"
)
...
...
src/macros.hpp
View file @
32fde4cb
...
...
@@ -20,7 +20,7 @@
#include
<Eigen/Core>
#ifdef EIGEN3_
FUTURE
#ifdef EIGEN3_
BETA_3_2_9x
namespace
se3
{
namespace
internal
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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