[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: cmake policy CMP0022 - OLD or NEW?
From:       Stephane MANKOWSKI <stephane () mankowski ! fr>
Date:       2014-05-18 12:33:44
Message-ID: 5378A8A8.7070107 () mankowski ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

In skrooge, to remove this kind of warning, we did that:
-TARGET_LINK_LIBRARIES(skgbankgui ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY}
skgbankmodeler skgbasemodeler skgbasegui)
+TARGET_LINK_LIBRARIES(skgbankgui *LINK_PUBLIC* ${KDE4_KDEUI_LIBS}
${QT_QTXML_LIBRARY} skgbankmodeler skgbasemodeler skgbasegui)

Regards,
Stephane
Le 18/05/2014 03:56, Lindsay Mathieson a =E9crit :
> As per the subject - should I be setting it to old or new?
>
>
> CMake Warning (dev) in lib/CMakeLists.txt:
>   Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
>   interface.  Run "cmake --help-policy CMP0022" for policy details.  Us=
e the
>   cmake_policy command to set the policy and suppress this warning.
>
>   Target "milou" has an INTERFACE_LINK_LIBRARIES property which differs=
 from
>   its LINK_INTERFACE_LIBRARIES properties.
>
>   INTERFACE_LINK_LIBRARIES:
>
>     Qt4::QtScript;Qt4::QtDeclarative;KDE4__kdecore;KDE4__kio;KDE4__plas=
ma;baloocore;baloofiles;baloopim
>
>   LINK_INTERFACE_LIBRARIES:
>
>
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubsc=
ribe <<


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    In skrooge, to remove this kind of warning, we did that:<br>
    -TARGET_LINK_LIBRARIES(skgbankgui ${KDE4_KDEUI_LIBS}
    ${QT_QTXML_LIBRARY} skgbankmodeler skgbasemodeler skgbasegui)<br>
    +TARGET_LINK_LIBRARIES(skgbankgui <b>LINK_PUBLIC</b>
    ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} skgbankmodeler skgbasemodeler
    skgbasegui)<br>
    <br>
    Regards,<br>
    Stephane<br>
    <div class="moz-cite-prefix">Le 18/05/2014 03:56, Lindsay Mathieson
      a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:1414383.yye73gtqgW@lindsay-office" type="cite">
      <pre wrap="">As per the subject - should I be setting it to old or new?


CMake Warning (dev) in lib/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 "milou" has an INTERFACE_LINK_LIBRARIES property which differs from
  its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    Qt4::QtScript;Qt4::QtDeclarative;KDE4__kdecore;KDE4__kio;KDE4__plasma;baloocore;baloofiles;baloopim


  LINK_INTERFACE_LIBRARIES:


</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Visit <a class="moz-txt-link-freetext" \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt; </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic