aboutsummaryrefslogtreecommitdiff
path: root/x11/leechcraft/files/patch-cmake_FindQwt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'x11/leechcraft/files/patch-cmake_FindQwt.cmake')
-rw-r--r--x11/leechcraft/files/patch-cmake_FindQwt.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/leechcraft/files/patch-cmake_FindQwt.cmake b/x11/leechcraft/files/patch-cmake_FindQwt.cmake
new file mode 100644
index 000000000000..a21842fa077b
--- /dev/null
+++ b/x11/leechcraft/files/patch-cmake_FindQwt.cmake
@@ -0,0 +1,18 @@
+--- cmake/FindQwt.cmake.orig 2018-03-09 18:41:44 UTC
++++ cmake/FindQwt.cmake
+@@ -6,6 +6,7 @@
+ find_path (QWT_INCLUDE_DIRS
+ NAMES qwt_plot.h
+ PATHS
++ %%QT_INCDIR%%/qwt6
+ /usr/local/include/qwt-qt4
+ /usr/local/include/qwt6
+ /usr/local/include/qwt
+@@ -18,6 +19,7 @@ find_path (QWT_INCLUDE_DIRS
+ find_library (QWT_LIBRARIES
+ NAMES qwt-qt4 qwt6 qwt
+ PATHS
++ %%QT_LIBDIR%%
+ /usr/local/lib
+ /usr/lib
+ /usr/local/lib/qwt.framework