message: Testing protobuf.
diff: @@ -10,6 +10,17 @@ add_definitions(-std=c++11 -Wno-sign-compare -Wno-unused-value)
  ############
  # PROTOBUF #
  ############
  +# General idea: first check if we have protobuf catkin, then use that.
  +# Otherwise use system protobuf.
  +find_package(protobuf_catkin)
  +if (protobuf_catkin_FOUND)
  + message(STATUS "-- Using protobuf_catkin")
  + list(APPEND catkin_INCLUDE_DIRS ${protobuf_catkin_INCLUDE_DIRS})
  + list(APPEND catkin_LIBRARIES ${protobuf_catkin_LIBRARIES})
  +
  + set(ADDITIONAL_LIBRARIES "")
  +else()
  + message(STATUS "-- Using system protobuf")
  find_package(Protobuf REQUIRED)
  include_directories(${PROTOBUF_INCLUDE_DIRS})
  include_directories(${CMAKE_CURRENT_BINARY_DIR})
  @@ -23,6 +34,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
  else()
  set(ADDITIONAL_LIBRARIES "")
  endif()
  +endif()
  #############
  