Menu

#88 strange warnings in cdemu-client cmake output

None
closed
None
unassigned
default
2015-06-03
2015-06-02
sL1pKn07
No

When build cdemu-client, show a strange warnings in cmake:

----------snip-----------------
CMake Warning (dev) at cmake/FindIntlTool.cmake:91 (add_custom_target):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

The target name "intltool-merge cdemu-client.desktop" is reserved or not
valid for certain CMake features, such as generator expressions, and may
result in undefined behavior.
Call Stack (most recent call first):
CMakeLists.txt:50 (intltool_merge)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/FindIntlTool.cmake:67 (add_custom_target):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

The target name "cdemu-client translations" is reserved or not valid for
certain CMake features, such as generator expressions, and may result in
undefined behavior.
Call Stack (most recent call first):
CMakeLists.txt:65 (intltool_process_po_files)
This warning is for project developers. Use -Wno-dev to suppress it.
--------------/snip-----------

cmake version: 3.2.3

greetings

Discussion

  • Rok Mandeljc

    Rok Mandeljc - 2015-06-03
    • status: open --> closed
    • assigned_to: Rok Mandeljc
    • Milestone: -->
     
  • Rok Mandeljc

    Rok Mandeljc - 2015-06-03

    Yeah, I've noticed the same after moving to Fedora 22.

    It seems the new CMake is a bit more picky about whitespaces in target names. Fixed in git master.

     

Log in to post a comment.