Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2016-04-12 13:45:20 +0300
committerChristian Kamm <mail@ckamm.de>2016-04-12 13:45:55 +0300
commit4f79f1b5e87b64c389c8e4b2dfa3b454a9838a06 (patch)
tree51b557a4dad95cc52d4261a733bf26d1bd46ce2e /cmake
parent68b7437afb1693b5e29a3a249b0581549b34e4c8 (diff)
Explicitly depend on Qt5Test.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/QtVersionAbstraction.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/QtVersionAbstraction.cmake b/cmake/modules/QtVersionAbstraction.cmake
index 12fe7be1b..4d7bc4ebe 100644
--- a/cmake/modules/QtVersionAbstraction.cmake
+++ b/cmake/modules/QtVersionAbstraction.cmake
@@ -18,6 +18,9 @@ if( Qt5Core_FOUND )
find_package(Qt5Network REQUIRED)
find_package(Qt5Xml REQUIRED)
find_package(Qt5Concurrent REQUIRED)
+ if(UNIT_TESTING)
+ find_package(Qt5Test REQUIRED)
+ endif()
if(NOT TOKEN_AUTH_ONLY)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5WebKit REQUIRED)