summaryrefslogtreecommitdiffstats
path: root/cmake/FindZrtpcpp.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindZrtpcpp.cmake')
-rw-r--r--cmake/FindZrtpcpp.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/FindZrtpcpp.cmake b/cmake/FindZrtpcpp.cmake
index 8f09150..3c7c3a0 100644
--- a/cmake/FindZrtpcpp.cmake
+++ b/cmake/FindZrtpcpp.cmake
@@ -1,4 +1,4 @@
-FIND_PATH(ZRTPCPP_INCLUDE_DIR libzrtpcpp/ZrtpConfigure.h)
+FIND_PATH(ZRTPCPP_INCLUDE_DIR libzrtpcpp/zrtpccrtp.h)
FIND_LIBRARY(ZRTPCPP_LIBRARIES NAMES zrtpcpp)
IF(ZRTPCPP_INCLUDE_DIR AND ZRTPCPP_LIBRARIES)
@@ -7,8 +7,10 @@ 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 includes: ${ZRTPCPP_INCLUDE_DIR}/libzrtpcpp/zrtpccrtp.h")
MESSAGE(STATUS "Found libzrtpcpp library: ${ZRTPCPP_LIBRARIES}")
+
+ SET(ZRTPCPP_INCLUDE_DIR ${ZRTPCPP_INCLUDE_DIR} "${ZRTPCPP_INCLUDE_DIR}/libzrtpcpp")
ENDIF (NOT Zrtpcpp_FIND_QUIETLY)
ELSE(ZRTPCPP_FOUND)
IF (Zrtpcpp_FIND_REQUIRED)