define __EXPORT for ROS

This commit is contained in:
Thomas Gubler 2015-01-21 14:35:36 +01:00
parent 1f706eeb2f
commit 3a38b0fe35
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project(px4)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_definitions(-D__PX4_ROS)
add_definitions(-D__EXPORT=)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)