Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when making bfl #25

Open
toeklk opened this issue Dec 9, 2017 · 0 comments
Open

Warning when making bfl #25

toeklk opened this issue Dec 9, 2017 · 0 comments

Comments

@toeklk
Copy link
Collaborator

toeklk commented Dec 9, 2017

migrated from Bugzilla #751
status NEW severity minor in component build system for ---
Reported in version trunk on platform All
Assigned to: BFL mailinglist

On 2010-01-28 10:19:41 +0100, Tinne De Laet wrote:

  Still have to solve the following warning: Warning: Source file "/home/fiep/maintain_bfl/branch-0.7/src/bindings/rtt/bfl_toolkit.cpp" is listed multiple times for target "orocos-bfl_toolkit-gnulinux". CMake Warning (dev) at src/bindings/rtt/CMakeLists.txt:15 (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 "orocos-bfl_toolkit-gnulinux" links to some libraries for which the linker must search: orocos-rtt-gnulinux, orocos-rtt-gnulinux and other libraries with known full path: /home/fiep/maintain_bfl/branch-0.7/build/src/liborocos-bfl.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): src/bindings/rtt/CMakeLists.txt:43 (ADD_LIBRARY) This warning is for project developers. Use -Wno-dev to suppress it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant