Mir

CMake outputs lots of "policy" warnings building Mir on vivid

Bug #1387501 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt
mir (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

CMake outputs lots of "policy" warnings building Mir on vivid...

CMake Warning (dev) at cmake/ABICheck.cmake:43 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mirclient". Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  cmake/ABICheck.cmake:61 (make_lib_descriptor)
  CMakeLists.txt:233 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/ABICheck.cmake:43 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mirserver". Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  cmake/ABICheck.cmake:62 (make_lib_descriptor)
  CMakeLists.txt:233 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/ABICheck.cmake:43 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mircommon". Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  cmake/ABICheck.cmake:63 (make_lib_descriptor)
  CMakeLists.txt:233 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/ABICheck.cmake:43 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mirplatform". Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  cmake/ABICheck.cmake:64 (make_lib_descriptor)
  CMakeLists.txt:233 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev) at benchmarks/CMakeLists.txt:14 (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 "frame_uniformity" of target "benchmarks" does not
  exist.
This warning is for project developers. Use -Wno-dev to suppress it.

Related branches

Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.9.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.