[Kmymoney-devel] [kmymoney4] [Bug 342952] New: CMake Warnings with cmake 3.0.2

Ian Neal iann_bugzilla at blueyonder.co.uk
Sat Jan 17 10:17:01 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=342952

            Bug ID: 342952
           Summary: CMake Warnings with cmake 3.0.2
           Product: kmymoney4
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: iann_bugzilla at blueyonder.co.uk

When running cmake against latest git master a number of CMake Warnings are
generated.

Reproducible: Always

Steps to Reproduce:
1. Use cmake 3.0.2
2. Run cmake against git master

Actual Results:  
Get the following warnings:
CMake Warning at CMakeLists.txt:171 (find_package):
  By not providing "FindGWENHYWFAR.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "GWENHYWFAR", but CMake did not find one.

  Could not find a package configuration file provided by "GWENHYWFAR" with
  any of the following names:

    GWENHYWFARConfig.cmake
    gwenhywfar-config.cmake

  Add the installation prefix of "GWENHYWFAR" to CMAKE_PREFIX_PATH or set
  "GWENHYWFAR_DIR" to a directory containing one of the above files.  If
  "GWENHYWFAR" provides a separate development package or SDK, be sure it has
  been installed.
-- Gwenhywfar  found at  ()

CMake Warning at CMakeLists.txt:173 (find_package):
  By not providing "FindAQBANKING.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "AQBANKING", but CMake did not find one.

  Could not find a package configuration file provided by "AQBANKING"
  (requested version 5.3.3) with any of the following names:

    AQBANKINGConfig.cmake
    aqbanking-config.cmake

  Add the installation prefix of "AQBANKING" to CMAKE_PREFIX_PATH or set
  "AQBANKING_DIR" to a directory containing one of the above files.  If
  "AQBANKING" provides a separate development package or SDK, be sure it has
  been installed.
-- AqBanking  found at  ()

CMake Warning (dev) at kmymoney/dialogs/CMakeLists.txt:92
(target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The plain signature for target_link_libraries has already been used with
  the target "dialogs".  All uses of target_link_libraries with a target
  should be either all-keyword or all-plain.

  The uses of the plain signature are here:

   * kmymoney/dialogs/CMakeLists.txt:85 (target_link_libraries)

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in kmymoney/payeeidentifier/nationalaccount/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "payeeidentifier_nationalAccount" has an INTERFACE_LINK_LIBRARIES
  property which differs from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    kmm_payeeidentifier;Qt4::QtCore;-lpthread;Qt4::QtXml

  LINK_INTERFACE_LIBRARIES:

This warning is for project developers.  Use -Wno-dev to suppress it.

Expected Results:  
No warning messages

Just upgraded to Fedora 21 which has cmake 3.0.2, from Fedora 19 which has
cmake 2.8.12
Seems to build and run okay though.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list