cmake/FindMISDN.cmake
7293634e
 FIND_PATH(MISDN_INCLUDE_DIR mISDNuser/mISDNlib.h)
 FIND_LIBRARY(MISDN_LIBRARIES NAMES mISDN)
 
 IF(MISDN_INCLUDE_DIR AND MISDN_LIBRARIES)
 	SET(MISDN_FOUND TRUE)
 ENDIF(MISDN_INCLUDE_DIR AND MISDN_LIBRARIES)
 
 IF(MISDN_FOUND)
 	IF (NOT MISDN_FIND_QUIETLY)
 		MESSAGE(STATUS "Found mISDN includes:	${MISDN_INCLUDE_DIR}/mISDNuser/mISDNlib.h")
 		MESSAGE(STATUS "Found mISDN library: ${MISDN_LIBRARIES}")
 	ENDIF (NOT MISDN_FIND_QUIETLY)
 ELSE(MISDN_FOUND)
 	IF (MISDN_FIND_REQUIRED)
 		MESSAGE(FATAL_ERROR "Could NOT find mISDN development files")
 	ENDIF (MISDN_FIND_REQUIRED)
 ENDIF(MISDN_FOUND)