diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-18 09:31:41 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-18 09:31:41 +0000 |
commit | cf1c517660d64ec62c90b4f0a18689711c7e0dba (patch) | |
tree | 17eaa28d3e3aa70ec22d575e93cb48a6d00d5370 /libkonq/CMakeLists.txt | |
parent | 8adb0337d38090c83291e36da63d65f407d66065 (diff) | |
download | tdebase-cf1c517660d64ec62c90b4f0a18689711c7e0dba.tar.gz tdebase-cf1c517660d64ec62c90b4f0a18689711c7e0dba.zip |
[kdebase/libkonq] added arts support and some cleanup/fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1225219 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/CMakeLists.txt')
-rw-r--r-- | libkonq/CMakeLists.txt | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/libkonq/CMakeLists.txt b/libkonq/CMakeLists.txt index 4dbac40c8..b96a8caa0 100644 --- a/libkonq/CMakeLists.txt +++ b/libkonq/CMakeLists.txt @@ -15,19 +15,17 @@ project( libkonq ) add_subdirectory( pics ) add_subdirectory( favicons ) -add_definitions( - -include tqt.h -) - include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} + ${ARTS_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} ) @@ -52,27 +50,30 @@ install( FILES konqpopupmenuplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DI ##### konq (shared lib) ######################### -set( target konq ) - -set( ${target}_SRCS - konq_popupmenu.cc knewmenu.cc konq_xmlguiclient.cc - kfileivi.cc konq_iconviewwidget.cc konq_settings.cc - konq_drag.cc konq_operations.cc konq_dirpart.cc - konq_propsview.cc konq_events.cc konq_bgnddlg.cc - konq_undo.cc konq_undo.skel konq_historymgr.cc - konq_historycomm.cc konq_historycomm.skel konq_pixmapprovider.cc - kivdirectoryoverlay.cc konq_faviconmgr.cc konq_faviconmgr.skel - konq_filetip.cc -) - -tde_add_library( ${target} SHARED AUTOMOC - SOURCES ${${target}_SRCS} +tde_add_library( konq SHARED AUTOMOC + SOURCES + konq_popupmenu.cc knewmenu.cc konq_xmlguiclient.cc kfileivi.cc + konq_iconviewwidget.cc konq_settings.cc konq_drag.cc konq_operations.cc + konq_dirpart.cc konq_propsview.cc konq_events.cc konq_bgnddlg.cc konq_undo.cc + konq_undo.skel konq_historymgr.cc konq_historycomm.cc konq_historycomm.skel + konq_pixmapprovider.cc kivdirectoryoverlay.cc konq_faviconmgr.cc + konq_faviconmgr.skel konq_filetip.cc VERSION 4.2.0 LINK kparts-shared DESTINATION ${LIB_INSTALL_DIR} ) +##### konq_sound (module) ####################### + +if( WITH_ARTS ) + tde_add_kpart( konq_sound + SOURCES konq_sound.cc + LINK artskde-shared + DESTINATION ${PLUGIN_INSTALL_DIR} ) +endif( ) + + ##### install import cmake modules ############### tde_install_export( ) |