2015-04-14 22:08:21 +00:00
|
|
|
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()
|
2015-09-25 12:06:19 +00:00
|
|
|
add_executable(${_target} ${ARGN})
|
2015-04-14 22:08:21 +00:00
|
|
|
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")
|