kde-playground/kdepim-runtime/agents/CMakeLists.txt
2015-09-25 12:06:19 +00:00

20 lines
698 B
CMake

add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
macro(kdepim_add_agent _target)
if(KDEPIM_BUILD_AGENTS_AS_PLUGINS)
add_definitions(-DKDEPIM_PLUGIN_AGENT)
kde4_add_plugin(${_target} ${ARGN})
install( TARGETS ${_target} DESTINATION ${PLUGIN_INSTALL_DIR}/ )
else()
add_executable(${_target} ${ARGN})
install(TARGETS ${_target} ${INSTALL_TARGETS_DEFAULT_ARGS})
endif()
endmacro()
add_subdirectory( maildispatcher )
add_subdirectory( newmailnotifier )
add_subdirectory( migration )
add_subdirectory( invitations )
install(FILES akonadinepomukfeederagent.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/akonadi/agents")