FIND_PATH(FLITE_INCLUDE_DIR flite/flite.h)
FIND_LIBRARY(FLITE_LIBRARIES NAMES flite)

IF(FLITE_INCLUDE_DIR AND FLITE_LIBRARIES)
	SET(FLITE_FOUND TRUE)
ENDIF(FLITE_INCLUDE_DIR AND FLITE_LIBRARIES)

IF(FLITE_FOUND)
	IF (NOT Flite_FIND_QUIETLY)
		MESSAGE(STATUS "Found flite includes:	${FLITE_INCLUDE_DIR}/flite/flite.h")
		MESSAGE(STATUS "Found flite library: ${FLITE_LIBRARIES}")
	ENDIF (NOT Flite_FIND_QUIETLY)
ELSE(FLITE_FOUND)
	IF (Flite_FIND_REQUIRED)
		MESSAGE(FATAL_ERROR "Could NOT find flite development files")
	ENDIF (Flite_FIND_REQUIRED)
ENDIF(FLITE_FOUND)
