Commit 84a429d7 authored by Olivier Stasse's avatar Olivier Stasse

[cmake] Make sure that we are compiling with REAL_ROBOT on.

parent d58a2494
......@@ -26,7 +26,7 @@ include(cmake/python.cmake)
#project(talos_roscontrol_sot)
OPTION(REAL_ROBOT "Compiling this package for the real robot" FALSE)
OPTION(REAL_ROBOT "Compiling this package for the real robot" TRUE)
find_package(PkgConfig REQUIRED)
......@@ -43,6 +43,9 @@ if(${REAL_ROBOT})
controller_interface
pal_hardware_interfaces
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DREAL_ROBOT")
else(${REAL_ROBOT})
set(additional_catkin_required_components
talos_controller_interface
......
Markdown is supported
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