aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qcustomplot/config.patch
blob: fac3a09f6e044baeb2409df29059fe85eeb01328 (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
--- a/sharedlib-compilation/sharedlib-compilation.pro
+++ b/sharedlib-compilation/sharedlib-compilation.pro
@@ -10,7 +10,6 @@
 
 DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
 TEMPLATE = lib
-CONFIG += debug_and_release build_all
 static {
   CONFIG += static
 } else {
@@ -33,3 +32,14 @@
 
 SOURCES += ../../qcustomplot.cpp
 HEADERS += ../../qcustomplot.h
+win32 {
+    dlltarget.path = $$[QT_INSTALL_BINS]
+    INSTALLS += dlltarget
+}
+target.path    = $$[QT_INSTALL_LIBS]
+!static: target.CONFIG = no_dll
+INSTALLS     += target
+
+headers.files += ../../qcustomplot.h
+headers.path = $$[QT_INSTALL_PREFIX]/include
+INSTALLS     += headers