# Revision history [back]

### How to include ignition math library in CMakeLists.txt?

I am not sure if this is the right platform to ask this question, but I know that ignition math has been forked from Gazebosim project. For a personal project, I want to use ignition math library from https://ignitionrobotics.org/api/math/5.0/tutorials.html. I am not sure how to put include this library in CMakeLists.txt so that my Makefile generated from cmake . may able to build my project.

Can anyone help me in this manner?

Currently, my CMakeLists.txt looks like this:

cmake_minimum_required(VERSION 2.8.3)
project(ACE)

#The Version number
set (ACE_VERSION MAJOR 0)
set (ACE_VERSION MINOR 1)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages

find_package(catkin REQUIRED COMPONENTS
)

## System dependencies are found with CMake's conventions
find_package(Boost REQUIRED COMPONENTS system)

# Need to have these in order to find/include boost stuff
include_directories(${Boost_INCLUDE_DIRS}) link_directories(${Boost_LIBRARY_DIRS})

include_directories(include
src
)