personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

CMake warning on Ubuntu 14.04 #16

Open psigen opened 9 years ago

psigen commented 9 years ago
CMake Warning (dev) at /homes/pkv/Desktop/ros/deps/devel/share/openrave_catkin/cmake/openrave_catkin-extras.cmake:10 (add_library):
  Policy CMP0003 should be set before this line.  Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
  because target "or_interactivemarker_plugin" links to some libraries for
  which the linker must search:

    openrave0.9

  and other libraries with known full path:

    /homes/pkv/Desktop/ros/deps/devel/lib/libor_interactivemarker.so

  CMake is adding directories in the second list to the linker search path in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly.  Run "cmake --help-policy CMP0003" for
  more information.
Call Stack (most recent call first):
  or_interactivemarker/CMakeLists.txt:99 (openrave_plugin)
This warning is for project developers.  Use -Wno-dev to suppress it.