Fix dependencies in CMake targets

(cherry picked from commit d227c416d0)
v3.5.13-sru
Slávek Banko 10 years ago
parent e9de7e84a3
commit ee03f1004a

@ -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}
)

Loading…
Cancel
Save