mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kinfocenter: pci module does not require X11 libraries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ab00b7e964
commit
7599614d85
2 changed files with 7 additions and 11 deletions
|
@ -18,7 +18,7 @@ if(PCIUTILS_FOUND)
|
|||
|
||||
kde4_add_plugin(kcm_pci ${KCM_PCI_PART_SRCS})
|
||||
|
||||
target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${PCIUTILS_LIBRARIES} ${X11_LIBRARIES})
|
||||
target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${PCIUTILS_LIBRARIES})
|
||||
|
||||
|
||||
else(PCIUTILS_FOUND)
|
||||
|
@ -27,7 +27,7 @@ else(PCIUTILS_FOUND)
|
|||
|
||||
kde4_add_plugin(kcm_pci ${KCM_PCI_PART_SRCS})
|
||||
|
||||
target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES} )
|
||||
target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} )
|
||||
endif(PCIUTILS_FOUND)
|
||||
|
||||
install(TARGETS kcm_pci DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
||||
|
|
|
@ -19,22 +19,18 @@
|
|||
#include "kcm_pci.h"
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginLoader>
|
||||
|
||||
#include <kaboutdata.h>
|
||||
#include <kdialog.h>
|
||||
#include <kdebug.h>
|
||||
|
||||
#include <QLayout>
|
||||
#include <QPainter>
|
||||
|
||||
#include <QPixmap>
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
#include <QTreeWidget>
|
||||
|
||||
#include <KPluginFactory>
|
||||
#include <KPluginLoader>
|
||||
#include <kaboutdata.h>
|
||||
#include <kdialog.h>
|
||||
#include <kdebug.h>
|
||||
#include <klocale.h>
|
||||
#include <kglobal.h>
|
||||
#include <kseparator.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue