summaryrefslogtreecommitdiffstats
path: root/tdeabc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-10-07 01:01:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-07 01:34:10 +0200
commitd227c416d00cc7774a247d0cdd5ca2c9058b87b3 (patch)
tree29f4d5c18f6a41a1777d89c66f236bc4520213ca /tdeabc
parent84e3f9e06ba1b6a050e838ca55970f018e81b749 (diff)
downloadtdelibs-d227c416d00cc7774a247d0cdd5ca2c9058b87b3.tar.gz
tdelibs-d227c416d00cc7774a247d0cdd5ca2c9058b87b3.zip
Fix dependencies in CMake targets
Diffstat (limited to 'tdeabc')
-rw-r--r--tdeabc/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/tdeabc/CMakeLists.txt b/tdeabc/CMakeLists.txt
index 0cd900c08..1d2ae37a7 100644
--- a/tdeabc/CMakeLists.txt
+++ b/tdeabc/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
+)
##### tdeabc ######################################
@@ -103,7 +110,7 @@ tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
VERSION 1.2.0
LINK vcards-static vcard-shared tdeio-shared tderesources-shared
- DEPENDENCIES addressee.h dcopidl
+ DEPENDENCIES addressee_files dcopidl
DESTINATION ${LIB_INSTALL_DIR}
)