add more spacing
[personal-kdebase.git] / workspace / plasma / tools / engineexplorer / CMakeLists.txt
blob94c113f5fa16cfd446b507ad36ce6b2c9d72960e
1 set(plasmaengineexplorer_SRCS
2     engineexplorer.cpp
3     ktreeviewsearchline.cpp
4     main.cpp
5     serviceviewer.cpp
8 macro_optional_find_package(Soprano)
9 macro_log_feature(Soprano_FOUND "Soprano" "Soprano Libraries" "kdesupport" FALSE "" "Adds support for the Soprano data type to Plasma Engine Explorer.")
11 if (Soprano_FOUND)
12    include_directories( ${SOPRANO_INCLUDE_DIR} )
13    add_definitions( -DFOUND_SOPRANO=1 )
14 endif (Soprano_FOUND)
16 kde4_add_ui_files(plasmaengineexplorer_SRCS engineexplorer.ui serviceviewer.ui)
17 kde4_add_executable(plasmaengineexplorer ${plasmaengineexplorer_SRCS})
19 target_link_libraries(plasmaengineexplorer ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
21 if (Soprano_FOUND)
22    target_link_libraries(plasmaengineexplorer ${SOPRANO_LIBRARIES})
23 endif (Soprano_FOUND)
25 install(TARGETS plasmaengineexplorer ${INSTALL_TARGETS_DEFAULT_ARGS})