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 <<