3 include(../base/CMakeLists.txt)
6 ${CMAKE_CURRENT_SOURCE_DIR}/../base
9 ########### next target ###############
12 MESSAGE(STATUS "Enabling PCI module based on pciutils library")
14 add_definitions( -DHAVE_PCIUTILS )
15 if (UNIX AND NOT APPLE)
16 add_definitions (-fpermissive)
17 endif (UNIX AND NOT APPLE)
19 set(KCM_PCI_PART_SRCS kcm_pci.cpp ../base/os_current.cpp kpci.cpp )
21 kde4_add_plugin(kcm_pci ${KCM_PCI_PART_SRCS})
23 target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${PCIUTILS_LIBRARIES} ${X11_LIBRARIES} ${ZLIB_LIBRARIES})
28 set(KCM_PCI_PART_SRCS kcm_pci.cpp ../base/os_current.cpp )
30 kde4_add_plugin(kcm_pci ${KCM_PCI_PART_SRCS})
32 target_link_libraries(kcm_pci ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES} )
35 install(TARGETS kcm_pci DESTINATION ${PLUGIN_INSTALL_DIR})
37 ########### install files ###############
39 install( FILES kcm_pci.desktop DESTINATION ${SERVICES_INSTALL_DIR})