mirror of https://github.com/sipwise/sems.git
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>sayer/1.4-spce2.6
parent
e1c2e2f61b
commit
9c17cf436b
@ -0,0 +1,17 @@
|
||||
FIND_PATH(LIBEV_INCLUDE_DIR libev/ev.h)
|
||||
FIND_LIBRARY(LIBEV_LIBRARIES NAMES ev)
|
||||
|
||||
IF(LIBEV_INCLUDE_DIR AND LIBEV_LIBRARIES)
|
||||
SET(LIBEV_FOUND TRUE)
|
||||
ENDIF(LIBEV_INCLUDE_DIR AND LIBEV_LIBRARIES)
|
||||
|
||||
IF(LIBEV_FOUND)
|
||||
IF (NOT Speex_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "Found libev includes: ${LIBEV_INCLUDE_DIR}/libev/ev.h")
|
||||
MESSAGE(STATUS "Found libev library: ${LIBEV_LIBRARIES}")
|
||||
ENDIF (NOT Speex_FIND_QUIETLY)
|
||||
ELSE(LIBEV_FOUND)
|
||||
IF (Speex_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could NOT find libev development files")
|
||||
ENDIF (Speex_FIND_REQUIRED)
|
||||
ENDIF(LIBEV_FOUND)
|
||||
Loading…
Reference in new issue