You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/cmake/FindSpandsp.cmake

18 lines
599 B

FIND_PATH(SPANDSP_INCLUDE_DIR spandsp.h)
FIND_LIBRARY(SPANDSP_LIBRARIES NAMES spandsp)
IF(SPANDSP_INCLUDE_DIR AND SPANDSP_LIBRARIES)
SET(SPANDSP_FOUND TRUE)
ENDIF(SPANDSP_INCLUDE_DIR AND SPANDSP_LIBRARIES)
IF(SPANDSP_FOUND)
IF (NOT Spandsp_FIND_QUIETLY)
MESSAGE(STATUS "Found spandsp includes: ${SPANDSP_INCLUDE_DIR}/spandsp.h")
MESSAGE(STATUS "Found spandsp library: ${SPANDSP_LIBRARIES}")
ENDIF (NOT Spandsp_FIND_QUIETLY)
ELSE(SPANDSP_FOUND)
IF (Spandsp_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could NOT find spandsp development files")
ENDIF (Spandsp_FIND_REQUIRED)
ENDIF(SPANDSP_FOUND)