fails to build with cmake-2.8.12

Bug #1274845 reported by Justin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Undecided
Unassigned

Bug Description

 CMake Error at deja-dup/widgets/CMakeLists.txt:54 (add_library):
   Target "widgets" links to item "-lgtk-3 -lgdk-3 -lpangocairo-1.0
   -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
   -lglib-2.0 -lpeas-1.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0
   -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -lsecret-1 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 " which has leading or trailing whitespace. This
   is now an error according to policy CMP0004.

 CMake Warning (dev) in deja-dup/widgets/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 "widgets" has an INTERFACE_LINK_LIBRARIES property. This should be
   preferred as the source of the link interface for this library but because
   CMP0022 is not set CMake is ignoring the property and using the link
   implementation as the link interface instead.

   INTERFACE_LINK_LIBRARIES:

     deja;-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify
 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpeas-1.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0 -lgirepository-1.0 -lgobject-2.0
 -lglib-2.0 -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0

   Link implementation:

     deja;-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnotify
 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpeas-1.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0 -lgirepository-1.0 -lgobject-2.0
 -lglib-2.0 -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0

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

 CMake Error at deja-dup/widgets/CMakeLists.txt:54 (add_library):
   Target "widgets" links to item "-lgtk-3 -lgdk-3 -lpangocairo-1.0
   -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
   -lglib-2.0 -lpeas-1.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0
   -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -lsecret-1 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 " which has leading or trailing whitespace. This
   is now an error according to policy CMP0004.

 CMake Error at deja-dup/widgets/CMakeLists.txt:54 (add_library):
   Target "widgets" links to item "-lgtk-3 -lgdk-3 -lpangocairo-1.0
   -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
   -lglib-2.0 -lpeas-1.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0
   -lgirepository-1.0 -lgobject-2.0 -lglib-2.0 -lsecret-1 -lgio-2.0
   -lgobject-2.0 -lglib-2.0 " which has leading or trailing whitespace. This
   is now an error according to policy CMP0004.

Related branches

Revision history for this message
Michael Terry (mterry) wrote :

Thanks!

Changed in deja-dup:
status: New → Fix Committed
Vej (vej)
Changed in deja-dup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.