orocos / orocos-bayesian-filtering

The orocos Bayesian Filtering Library
149 stars 59 forks source link

Warning when making bfl #25

Open toeklk opened 6 years ago

toeklk commented 6 years ago

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.