Fix build of the test on Qt5

This commit is contained in:
Olivier Goffart 2014-07-10 10:42:02 +02:00
parent 4369151cd8
commit d3b599b727

View file

@ -9,7 +9,7 @@ macro(owncloud_add_test test_class additional_cpp)
qt_wrap_cpp(test${OWNCLOUD_TEST_CLASS_LOWERCASE}.h)
add_executable(${OWNCLOUD_TEST_CLASS}Test test${OWNCLOUD_TEST_CLASS_LOWERCASE}.cpp ${additional_cpp})
qt5_use_modules(${OWNCLOUD_TEST_CLASS}Test Test Sql Xml)
qt5_use_modules(${OWNCLOUD_TEST_CLASS}Test Test Sql Xml Network)
target_link_libraries(${OWNCLOUD_TEST_CLASS}Test
updater