diff --git a/kabc/CMakeLists.txt b/kabc/CMakeLists.txt index 1db5f73c9..40d901b5c 100644 --- a/kabc/CMakeLists.txt +++ b/kabc/CMakeLists.txt @@ -79,6 +79,13 @@ add_custom_command( WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripts ) +add_custom_target( + addressee_files + DEPENDS + ${CMAKE_CURRENT_BINARY_DIR}/addressee.cpp + ${CMAKE_CURRENT_BINARY_DIR}/addressee.h + ${CMAKE_CURRENT_BINARY_DIR}/field.cpp +) ##### kabc ###################################### @@ -103,7 +110,7 @@ tde_add_library( ${target} SHARED AUTOMOC SOURCES ${${target}_SRCS} VERSION 1.2.0 LINK vcards-static vcard-shared kio-shared kresources-shared - DEPENDENCIES addressee.h dcopidl + DEPENDENCIES addressee_files dcopidl DESTINATION ${LIB_INSTALL_DIR} )