$OpenBSD: patch-akonadiconsole_CMakeLists_txt,v 1.1 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- akonadiconsole/CMakeLists.txt.orig	Tue Jul  1 12:56:14 2014
+++ akonadiconsole/CMakeLists.txt	Tue Jul  1 12:56:43 2014
@@ -97,19 +97,19 @@ kde4_add_executable(akonadiconsole_bin ${akonadiconsol
 set_target_properties(akonadiconsole_bin PROPERTIES OUTPUT_NAME akonadiconsole)
 
 target_link_libraries(akonadiconsole_bin
+  akonadi_next
+  calendarsupport
+  messageviewer
+  kdepim
   ${KDEPIMLIBS_AKONADI_LIBS}
   ${KDEPIMLIBS_AKONADI_CONTACT_LIBS}
-  akonadi_next
   ${KDEPIMLIBS_AKONADI_KMIME_LIBS}
-  calendarsupport
   ${KDEPIMLIBS_KCALCORE_LIBS}
-  kdepim
-  messageviewer
   ${KDE4_KCMUTILS_LIBS}
   ${KDE4_KIO_LIBS}
+  ${AKONADI_COMMON_LIBRARIES}
   ${QT_QTSQL_LIBRARY}
   ${QT_QTNETWORK_LIBRARY}
-  ${AKONADI_COMMON_LIBRARIES}
 )
 
 install(TARGETS akonadiconsole_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
