summaryrefslogtreecommitdiff
path: root/testing/source/vtown/kde/patch/kinfocenter/kinfocenter_libpci.patch
blob: a2bc007966541fb9f8a8969a44ae3e92604484ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- kinfocenter-5.5.5/cmake/FindPCIUTILS.cmake.orig	2016-03-01 14:32:01.000000000 +0100
+++ kinfocenter-5.5.5/cmake/FindPCIUTILS.cmake	2016-03-11 13:00:12.412315320 +0100
@@ -19,6 +19,14 @@
   else(RESOLV_LIBRARY)
     set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY})
   endif(RESOLV_LIBRARY)
+  FIND_LIBRARY(UDEV_LIBRARY NAMES udev)
+  if(UDEV_LIBRARY)
+    set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARIES} ${UDEV_LIBRARY})
+  endif(UDEV_LIBRARY)
+  FIND_LIBRARY(ZLIB_LIBRARY NAMES z)
+  if(ZLIB_LIBRARY)
+    set(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
+  endif(ZLIB_LIBRARY)
 endif(PCIUTILS_LIBRARY)