vcpkg/ports/qwt/fix-dynamic-static.patch
JonLiu1993 2d922f46cc
[qwt] Restore patch to fix qwt link static library (#21832)
* [qwt] Fix qwt link static library

* update version
2021-12-06 20:36:09 -08:00

16 lines
522 B
Diff

diff --git a/qwtconfig.pri b/qwtconfig.pri
index 0b054e0..f93fef6 100644
--- a/qwtconfig.pri
+++ b/qwtconfig.pri
@@ -72,7 +72,10 @@ QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
# it will be a static library.
######################################################################
+CONFIG(dynamic, dynamic|static) {
+
QWT_CONFIG += QwtDll
+}
######################################################################
# QwtPlot enables all classes, that are needed to use the QwtPlot