summarylogtreecommitdiffstats
path: root/0001-Make-windeployqt-an-optional-feature.patch
blob: 34b85d1c4c0786b4451b21be531aae7156afab0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From adbcd437ab61010cec31a3e52a1fd0b7e772173f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 26 Nov 2020 01:53:27 +0100
Subject: [PATCH] Make windeployqt an optional feature

Change-Id: I3c797df913c07ed80929b41d367b1ebb41d8400f
---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 770f1cab..d5d34064 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,7 +51,7 @@ endif()
 if(TARGET Qt::DBus)
     add_subdirectory(qdbus)
 endif()
-if(WIN32)
+if(QT_FEATURE_windeployqt)
     add_subdirectory(windeployqt)
 endif()
 if(QT_FEATURE_commandlineparser AND TARGET Qt::Gui AND NOT ANDROID AND NOT QNX AND NOT UIKIT AND NOT WASM)
-- 
2.29.2