FIND_PATH(LIBZRTP_INCLUDE_DIR zrtp.h HINTS /usr/include/zrtp )
FIND_LIBRARY(LIBZRTP_LIBRARIES NAMES zrtp)

IF(LIBZRTP_INCLUDE_DIR AND LIBZRTP_LIBRARIES)
	SET(LIBZRTP_FOUND TRUE)
ENDIF(LIBZRTP_INCLUDE_DIR AND LIBZRTP_LIBRARIES)

IF(LIBZRTP_FOUND)
	IF (NOT Libzrtp_FIND_QUIETLY)
		MESSAGE(STATUS "Found libzrtp includes:	${LIBZRTP_INCLUDE_DIR}/zrtp/zrtp.h")
		MESSAGE(STATUS "Found libzrtp library: ${LIBZRTP_LIBRARIES}")
	ENDIF (NOT Libzrtp_FIND_QUIETLY)
ELSE(LIBZRTP_FOUND)
	IF (Libzrtp_FIND_REQUIRED)
		MESSAGE(FATAL_ERROR "Could NOT find libzrtp development files")
	ENDIF (Libzrtp_FIND_REQUIRED)
ENDIF(LIBZRTP_FOUND)
