not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / solid / networkmanager-0.6 / CMakeLists.txt
blob4633b5164ab20c478554766cd1c136c15542eca7
1 include_directories(
2    ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs
3    ${NETWORKMANAGER_INCLUDE_DIRS} 
4    ${CMAKE_CURRENT_SOURCE_DIR}/../control)
6 #add_subdirectory(tests) # disabled for now, they depend on authentication.cpp
8 set(solid_networkmanager_PART_SRCS
9         NetworkManager-wirelessaccesspoint.cpp
10         NetworkManager-networkmanager.cpp
11         NetworkManager-networkinterface.cpp
12         NetworkManager-wirelessnetwork.cpp
13         NetworkManager-wirednetwork.cpp
14 #       NetworkManager-dbushelper.cpp
18 kde4_add_library(solid_networkmanager_static STATIC ${solid_networkmanager_PART_SRCS})
19 target_link_libraries(solid_networkmanager_static ${KDE4_KDECORE_LIBS} solidcontrolifaces)
21 kde4_add_plugin(solid_networkmanager module.cpp ${solid_networkmanager_PART_SRCS})
23 target_link_libraries(solid_networkmanager ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} solidcontrol solidcontrolifaces)
24 install(TARGETS solid_networkmanager DESTINATION ${PLUGIN_INSTALL_DIR})
26 install(FILES solid_networkmanager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/solidbackends )
28 kde4_install_icons( ${ICON_INSTALL_DIR} )