blob: 8f09150c1a61fbf4b56759f3fd2b6579ec2f9efc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FIND_PATH(ZRTPCPP_INCLUDE_DIR libzrtpcpp/ZrtpConfigure.h)
FIND_LIBRARY(ZRTPCPP_LIBRARIES NAMES zrtpcpp)
IF(ZRTPCPP_INCLUDE_DIR AND ZRTPCPP_LIBRARIES)
SET(ZRTPCPP_FOUND TRUE)
ENDIF(ZRTPCPP_INCLUDE_DIR AND ZRTPCPP_LIBRARIES)
IF(ZRTPCPP_FOUND)
IF (NOT Zrtpcpp_FIND_QUIETLY)
MESSAGE(STATUS "Found libzrtpcpp includes: ${ZRTPCPP_INCLUDE_DIR}/libzrtpcpp/ZrtpConfigure.h")
MESSAGE(STATUS "Found libzrtpcpp library: ${ZRTPCPP_LIBRARIES}")
ENDIF (NOT Zrtpcpp_FIND_QUIETLY)
ELSE(ZRTPCPP_FOUND)
IF (Zrtpcpp_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could NOT find libzrtpcpp development files")
ENDIF (Zrtpcpp_FIND_REQUIRED)
ENDIF(ZRTPCPP_FOUND)
|