diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-10-07 01:01:20 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:53 +0100 |
commit | ee03f1004a410962813a494b2876e0e58b17140f (patch) | |
tree | ddb9d2b98cacd128c1f04adef681cb15edbb5613 /kabc | |
parent | e9de7e84a390cfde4d8b55449ea537899d637a9c (diff) | |
download | tdelibs-ee03f1004a410962813a494b2876e0e58b17140f.tar.gz tdelibs-ee03f1004a410962813a494b2876e0e58b17140f.zip |
Fix dependencies in CMake targets
(cherry picked from commit d227c416d00cc7774a247d0cdd5ca2c9058b87b3)
Diffstat (limited to 'kabc')
-rw-r--r-- | kabc/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
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} ) |