aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qwt/fix_dll_install.patch
blob: 134531b7c488f88309aa9a2472c644b15712956e (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
27
28
diff --git a/src/src.pro b/src/src.pro
index 0ce903fe7..16524b8e2 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -20,6 +20,7 @@ TEMPLATE          = lib
 TARGET            = $$qwtLibraryTarget(qwt)
 
 DESTDIR           = $${QWT_OUT_ROOT}/lib
+DLLDESTDIR        = $${QWT_OUT_ROOT}/bin
 
 contains(QWT_CONFIG, QwtDll) {
 
@@ -49,9 +50,13 @@ contains(QWT_CONFIG, QwtFramework) {
 include ( $${PWD}/src.pri )
 
 # Install directives
-
+win32 {
+    dlltarget.path = $${QWT_INSTALL_BINS}
+    INSTALLS += dlltarget
+}
 target.path    = $${QWT_INSTALL_LIBS}
-INSTALLS       = target 
+!static: target.CONFIG = no_dll
+INSTALLS     += target 
 
 CONFIG(lib_bundle) {