|
@@ -0,0 +1,40 @@
+--- test/CMakeLists.txt.orig 2013-02-25 16:46:42.536023267 +0100
++++ test/CMakeLists.txt 2013-02-25 16:46:48.180023061 +0100
+@@ -2,5 +2,9 @@
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+ include(${QT_USE_FILE})
++set(QT_USE_QTNETWORK TRUE)
++set(QT_USE_QTXML TRUE)
++set(QT_USE_QTWEBKIT TRUE)
++set(QT_USE_QTXMLPATTERNS TRUE)
+
+ add_tests(folderwatcher unisonfolder)
+--- src/CMakeLists.txt.orig 2013-02-25 16:45:05.828023044 +0100
++++ src/CMakeLists.txt 2013-02-25 17:07:55.084022649 +0100
+@@ -1,4 +1,14 @@
+ include(${QT_USE_FILE})
++set(QT_USE_QTNETWORK TRUE)
++set(QT_USE_QTXML TRUE)
++set(QT_USE_QTWEBKIT TRUE)
++set(QT_USE_QTXMLPATTERNS TRUE)
++INCLUDE_DIRECTORIES(
++ ${QT_INCLUDE_DIR}
++ ${QT_QTNETWORK_INCLUDE_DIR}
++ ${QT_QTXML_INCLUDE_DIR}
++ ${QT_QTTEST_INCLUDE_DIR}
++)
+
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
+
+@@ -91,8 +101,8 @@
+ add_library(mirallsync SHARED ${libsync_SRCS} ${syncMoc})
+ add_library(owncloudsync SHARED ${libsync_SRCS} ${syncMoc})
+ set_target_properties( owncloudsync PROPERTIES COMPILE_DEFINITIONS OWNCLOUD_CLIENT)
+-target_link_libraries(mirallsync ${QT_LIBRARIES} ${CSYNC_LIBRARY} )
+-target_link_libraries(owncloudsync ${QT_LIBRARIES} ${CSYNC_LIBRARY} )
++target_link_libraries(mirallsync ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} ${QT_QTXML_LIBRARIES} ${CSYNC_LIBRARY} )
++target_link_libraries(owncloudsync ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} ${QT_QTXML_LIBRARIES} ${CSYNC_LIBRARY} )
+
+ if(NOT BUILD_OWNCLOUD_OSX_BUNDLE)
+ install(TARGETS mirallsync owncloudsync
|