aboutsummaryrefslogtreecommitdiff
path: root/finance/alkimia/files/patch-CMakeLists.txt
blob: 28a75a0453a5b09872375e5f1a16a5963fb226d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Make tests conditional

--- CMakeLists.txt.orig	2021-01-21 22:50:19 UTC
+++ CMakeLists.txt
@@ -37,7 +37,7 @@ include(FeatureSummary)
 # check for PkgConfig, Qt and MPIR/GMP
 find_package(PkgConfig)
 if(BUILD_QT4)
-    find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtDBus QtTest QtWebKit QtDeclarative)
+    find_package(Qt4 REQUIRED COMPONENTS QtCore QtGui QtDBus QtWebKit QtDeclarative)
     set(QT_USE_LIBSPREFIX Qt4::Qt)
     set(ALKIMIA_LIB_SUFFIX "")
     set(ALKIMIA_INCLUDE_SUFFIX "Qt4")
@@ -107,7 +107,6 @@ else()
 
     find_package(Qt5 REQUIRED COMPONENTS
         Core
-        Test
         ${QT_BROWSER_COMPONENT}
         Qml
     )