Commit 5d2ea50f authored by Nicolae Rosia's avatar Nicolae Rosia Committed by Lorenz Meier
Browse files

CMakeLists.txt: use find_package to find Eigen3

CMake has a FindEigen3.cmake which can be used to find Eigen3.
Let's do it CMake-way.
Signed-off-by: default avatarNicolae Rosia <>
parent 12a3db8b
......@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
find_package( PkgConfig REQUIRED)
find_package(OpenCV REQUIRED)
find_package(gazebo REQUIRED)
pkg_check_modules( EIGEN3 REQUIRED eigen3)
find_package(Eigen3 REQUIRED)
pkg_check_modules( protobuf REQUIRED protobuf )
FIND_PACKAGE( Boost 1.40 COMPONENTS system thread REQUIRED )
......@@ -23,13 +23,11 @@ include_directories(
# Hack to work around pkg_check_modules not setting the Eigen dir
# Hack to work around pkg_check_modules not setting the OGRE dirs correctly
# Workaround for OGRE include dirs on Mac OS
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment