Skip to content

Commit 1984b8b

Browse files
authored
Merge pull request #63 from tomlankhorst/fix/eigen-3
Use Eigen3 instead of Eigen (and with it drop Ubuntu Trusty (14.04) support)
2 parents 6110f3e + be93e34 commit 1984b8b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

cuckoo_time_translator_algorithms/CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ project(cuckoo_time_translator_algorithms)
44
find_package(catkin_simple REQUIRED)
55
catkin_simple()
66

7-
find_package(Eigen REQUIRED)
8-
find_package(console_bridge REQUIRED)
7+
find_package(Eigen3 REQUIRED)
98

109
include_directories(
11-
${console_bridge_INCLUDE_DIRS}
12-
${Eigen_INCLUDE_DIRS}
10+
${EIGEN3_INCLUDE_DIRS}
1311
)
1412

1513
# enable warnings
@@ -42,10 +40,9 @@ cs_add_library(${PROJECT_NAME}
4240
src/KalmanOwt.cpp
4341
src/SwitchingOwt.cpp
4442
)
45-
target_link_libraries(${PROJECT_NAME} ${console_bridge_LIBRARIES})
4643

4744
cs_install()
48-
cs_export(INCLUDE_DIRS ${Eigen_INCLUDE_DIRS})
45+
cs_export(INCLUDE_DIRS ${EIGEN3_INCLUDE_DIRS})
4946

5047
if(CATKIN_ENABLE_TESTING)
5148
catkin_add_gtest(${PROJECT_NAME}-test

cuckoo_time_translator_algorithms/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<buildtool_depend>catkin_simple</buildtool_depend>
1616

1717
<depend>cmake_modules</depend>
18+
<depend>eigen</depend>
1819
<depend>rosconsole_bridge</depend>
1920

2021
<test_depend>gtest</test_depend>

0 commit comments

Comments
 (0)