aboutsummaryrefslogtreecommitdiff
path: root/finance/alkimia/files/patch-autotests_CMakeLists.txt
blob: 4f658de530919b89eebc27c685d4d9d3f4ef1b08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Find testlib (moved from ../CMakeLists.txt)

--- autotests/CMakeLists.txt.orig	2020-10-23 16:11:34 UTC
+++ autotests/CMakeLists.txt
@@ -1,4 +1,10 @@
 include(ECMAddTests)
+if(BUILD_QT4)
+    find_package(Qt4 REQUIRED COMPONENTS QtTest)
+else()
+    find_package(Qt5 REQUIRED COMPONENTS Test)
+endif()
+
 set(TEST_LIB
     alkimia
     alkimia-internal