From 4448315e65918e744219f7b814effa54e796e286 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 27 Mar 2011 22:03:55 +0000 Subject: arts, kdelibs, kdebase, kdepim: use new tqt build system git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1226236 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtmcop/CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'qtmcop/CMakeLists.txt') diff --git a/qtmcop/CMakeLists.txt b/qtmcop/CMakeLists.txt index f2733c4..a4ff199 100644 --- a/qtmcop/CMakeLists.txt +++ b/qtmcop/CMakeLists.txt @@ -34,14 +34,11 @@ install( FILES ##### qtmcop ############################## -add_custom_command( - OUTPUT qiomanager_p.moc - COMMAND ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -o qiomanager_p.moc - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -) +set( qtmcop_SRCS qiomanager.cc ) +tde_moc( qtmcop_SRCS qiomanager_p.h ) tde_add_library( qtmcop SHARED - SOURCES qiomanager.cc qiomanager_p.moc + SOURCES ${qtmcop_SRCS} VERSION 1.0.0 LINK mcop-shared ${TQT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} -- cgit v1.2.1