~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to plasma/generic/tools/engineexplorer/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(plasmaengineexplorer_SRCS
 
2
    engineexplorer.cpp
 
3
    ktreeviewsearchline.cpp
 
4
    main.cpp
 
5
    serviceviewer.cpp
 
6
)
 
7
 
 
8
macro_optional_find_package(Soprano)
 
9
macro_log_feature(Soprano_FOUND "Soprano" "Semantic Desktop Storing" "http://soprano.sourceforge.net" FALSE "" "Adds support for the Soprano data type to Plasma Engine Explorer.")
 
10
 
 
11
if (Soprano_FOUND)
 
12
   include_directories( ${SOPRANO_INCLUDE_DIR} )
 
13
   add_definitions( -DFOUND_SOPRANO=1 )
 
14
endif (Soprano_FOUND)
 
15
 
 
16
kde4_add_ui_files(plasmaengineexplorer_SRCS engineexplorer.ui serviceviewer.ui)
 
17
kde4_add_executable(plasmaengineexplorer ${plasmaengineexplorer_SRCS})
 
18
 
 
19
target_link_libraries(plasmaengineexplorer ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
 
20
 
 
21
if (Soprano_FOUND)
 
22
   target_link_libraries(plasmaengineexplorer ${SOPRANO_LIBRARIES})
 
23
endif (Soprano_FOUND)
 
24
 
 
25
install(TARGETS plasmaengineexplorer ${INSTALL_TARGETS_DEFAULT_ARGS})
 
26