include_directories(
	${CMAKE_CURRENT_SOURCE_DIR}/../lib
)

add_subdirectory(abbrowserconduit)
add_subdirectory(docconduit)
add_subdirectory(memofileconduit)
add_subdirectory(notepadconduit)
add_subdirectory(null)
add_subdirectory(popmail)
add_subdirectory(sysinfoconduit)
add_subdirectory(timeconduit)
#add_subdirectory(recordconduit)
FIND_PATH( HAVE_CALENDARLOCAL_H "kcal/calendarlocal.h" ${KDE4_INCLUDE_DIR} )

IF (HAVE_CALENDARLOCAL_H)
	add_subdirectory(vcalconduit)
ELSE (HAVE_CALENDARLOCAL_H)
	MESSAGE(STATUS "No KDE PIM development headers were found. Install it if you want to build it")
ENDIF (HAVE_CALENDARLOCAL_H)

###
#
# MAL seems to be broken, or the MAL API has changed somewhat
# since the last time that the conduit was compiled by the development
# team. Since we don't use the conduit it is disabled. 
IF (MAL_FOUND)
	MESSAGE(STATUS "MAL conduit will not be compiled, not ported yet.")
 	add_subdirectory(malconduit)
ELSE (MAL_FOUND)
	MESSAGE(STATUS "Couldn't find mal. Won't be able to build malconduit")
ENDIF (MAL_FOUND)


include_directories(
	${CMAKE_CURRENT_SOURCE_DIR}/../lib
)

#add_subdirectory(abbrowserconduit)
add_subdirectory(docconduit)
add_subdirectory(memofileconduit)
add_subdirectory(notepadconduit)
add_subdirectory(null)
add_subdirectory(popmail)
add_subdirectory(sysinfoconduit)
add_subdirectory(timeconduit)
#add_subdirectory(recordconduit)
FIND_PATH( HAVE_CALENDARLOCAL_H "kcal/calendarlocal.h" ${KDE4_INCLUDE_DIR} )

IF (HAVE_CALENDARLOCAL_H)
	add_subdirectory(vcalconduit)
ELSE (HAVE_CALENDARLOCAL_H)
	MESSAGE(STATUS "No KDE PIM development headers were found. Install it if you want to build it")
ENDIF (HAVE_CALENDARLOCAL_H)

###
#
# MAL seems to be broken, or the MAL API has changed somewhat
# since the last time that the conduit was compiled by the development
# team. Since we don't use the conduit it is disabled. 
IF (MAL_FOUND)
	MESSAGE(STATUS "MAL conduit will not be compiled, not ported yet.")
 	add_subdirectory(malconduit)
ELSE (MAL_FOUND)
	MESSAGE(STATUS "Couldn't find mal. Won't be able to build malconduit")
ENDIF (MAL_FOUND)


Comment abbrowser conduit because kabc/resourcefile.h doesn't exist now
Comment abbrowser conduit because kabc/resourcefile.h doesn't exist now

svn path=/trunk/KDE/kdepim/; revision=665801
