message: Iterate again
diff: @@ -14,6 +14,7 @@ add_definitions(-std=c++11 -Wno-sign-compare -Wno-unused-value)
  # Otherwise use system protobuf.
  set(PROTO_DEFNS proto/voxblox/Block.proto
  proto/voxblox/Layer.proto)
  +set(ADDITIONAL_LIBRARIES "")
  find_package(protobuf_catkin)
  if (protobuf_catkin_FOUND)
  @@ -23,7 +24,8 @@ if (protobuf_catkin_FOUND)
  include_directories(${CMAKE_CURRENT_BINARY_DIR})
  PROTOBUF_CATKIN_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${PROTO_DEFNS})
  - set(ADDITIONAL_LIBRARIES "")
  + set(ADDITIONAL_DEPENDENCIES "protobuf_catkin")
  + set(ADDITIONAL_LIBRARIES ${protobuf_catkin_LIBRARIES})
  else()
  message(STATUS "Using system protobuf")
  find_package(Protobuf REQUIRED)
  @@ -31,12 +33,9 @@ else()
  include_directories(${CMAKE_CURRENT_BINARY_DIR})
  PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${PROTO_DEFNS})
  -
  # Horrible hack to fix mac mini build.
  if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
  set(ADDITIONAL_LIBRARIES ${PROTOBUF_LIBRARIES})
  - else()
  - set(ADDITIONAL_LIBRARIES "")
  endif()
  endif()
  @@ -98,4 +97,5 @@ target_link_libraries(test_tsdf_interpolator ${PROJECT_NAME} ${catkin_LIBRARIES}
  cs_install()
  cs_export(INCLUDE_DIRS include ${CMAKE_CURRENT_BINARY_DIR}
  CFG_EXTRAS voxblox-extras.cmake
  + CATKIN_DEPENDS ${ADDITIONAL_DEPENDENCIES}
  LIBRARIES ${ADDITIONAL_LIBRARIES})
  