Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Add message dependencies only if in source #7

Closed
stonier opened this issue Dec 12, 2016 · 0 comments
Closed

Add message dependencies only if in source #7

stonier opened this issue Dec 12, 2016 · 0 comments

Comments

@stonier
Copy link
Contributor

stonier commented Dec 12, 2016

Getting

CMake Warning (dev) at /opt/groot/rosjava/devel/share/genjava/cmake/genjava-catkin-api.cmake:51 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "stereo_msgs_generate_messages" of target
  "rosjava_messages_generate_artifacts" does not exist.
Call Stack (most recent call first):
  rosjava_messages/CMakeLists.txt:14 (generate_rosjava_messages)
This warning is for project developers.  Use -Wno-dev to suppress it.

when the underlying stereo_msgs is installed as a deb, but not in the source workspace.

adamantivm added a commit that referenced this issue Aug 4, 2017
Fix non-existent dependency warning for the catkin API (fix #7)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant