This is a multi-part message in MIME format. --===============5670568346005069287== Content-Type: multipart/alternative; boundary="------------090809040308060603060900" This is a multi-part message in MIME format. --------------090809040308060603060900 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 << --------------090809040308060603060900 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 écrit :
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:





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

--------------090809040308060603060900-- --===============5670568346005069287== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============5670568346005069287==--