
include_directories( ${CMAKE_SOURCE_DIR}/kaddressbook/common ${CMAKE_SOURCE_DIR}/kaddressbook/ ${CMAKE_BINARY_DIR}/libkdepim ${CMAKE_SOURCE_DIR}/libkdepim ${CMAKE_BINARY_DIR}/kaddressbook/common )

add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)

########### next target ###############

set(kcal_kabc_PART_SRCS resourcekabc.cpp resourcekabcconfig.cpp )

kde4_add_plugin(kcal_kabc ${kcal_kabc_PART_SRCS})

target_link_libraries(kcal_kabc  ${KDE4_KDECORE_LIBS} ${KDEPIMLIBS_KCAL_LIBS} ${KDEPIMLIBS_KPIMUTILS_LIBS} ${QT_QT3SUPPORT_LIBRARY} kdepim)

install(TARGETS kcal_kabc  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install( FILES kabc.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal)


include_directories( ${CMAKE_SOURCE_DIR}/kaddressbook/common ${CMAKE_SOURCE_DIR}/kaddressbook/ ${CMAKE_BINARY_DIR}/libkdepim ${CMAKE_SOURCE_DIR}/libkdepim ${CMAKE_BINARY_DIR}/kaddressbook/common )

add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)

########### next target ###############

set(kcal_kabc_PART_SRCS resourcekabc.cpp resourcekabcconfig.cpp )

kde4_add_plugin(kcal_kabc ${kcal_kabc_PART_SRCS})

target_link_libraries(kcal_kabc  ${KDE4_KDECORE_LIBS} ${KDEPIMLIBS_KCAL_LIBS} ${KDEPIMLIBS_KPIMUTILS_LIBS} ${QT_QT3SUPPORT_LIBRARY} kdepim kabcommon)

install(TARGETS kcal_kabc  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install( FILES kabc.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal)

Revert "Fix a linker error."
Revert "Fix a linker error."

This reverts commit 484dffa1895bfbc8bc63d434fdc226336e092b74.

Conflicts:
	kresources/birthdays/CMakeLists.txt
