mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Build with pciutils 3.0.0, which uses libresolv.
svn path=/trunk/KDE/kdebase/apps/; revision=842960
This commit is contained in:
parent
34fe4346cc
commit
944ea7b354
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
# PCIUTILS_FOUND - system has PCIUtils
|
||||
# PCIUTILS_INCLUDE_DIR - the PCIUTILS include directory
|
||||
# PCIUTILS_LIBRARIES - The libraries needed to use FAM
|
||||
# PCIUTILS_LIBRARIES - The libraries needed to use PCIUtils
|
||||
|
||||
if(PCIUTILS_INCLUDE_DIR AND PCIUTILS_LIBRARIES)
|
||||
set(PCIUTILS_FIND_QUIETLY TRUE)
|
||||
|
@ -11,7 +11,12 @@ endif(PCIUTILS_INCLUDE_DIR AND PCIUTILS_LIBRARIES)
|
|||
|
||||
FIND_PATH(PCIUTILS_INCLUDE_DIR pci/pci.h)
|
||||
|
||||
FIND_LIBRARY(PCIUTILS_LIBRARIES NAMES pci )
|
||||
FIND_LIBRARY(PCIUTILS_LIBRARY NAMES pci)
|
||||
if(PCIUTILS_LIBRARY)
|
||||
FIND_LIBRARY(RESOLV_LIBRARY NAMES resolv)
|
||||
set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY} ${RESOLV_LIBRARY})
|
||||
endif(PCIUTILS_LIBRARY)
|
||||
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PCIUTILS DEFAULT_MSG PCIUTILS_LIBRARIES PCIUTILS_INCLUDE_DIR)
|
||||
|
|
Loading…
Reference in a new issue