summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorLubos Dolezel <lubos@dolezel.info>2015-06-16 21:59:19 +0200
committerLubos Dolezel <lubos@dolezel.info>2015-06-16 21:59:19 +0200
commit2b66c8c29da03a82a7126a3f28837a31e6c1d997 (patch)
treeacc8d0f4dd0a4b06c3150f44c82a7f63e5c51a59 /cmake
parent1438a922bf573637f8a2973a1c75ab3be73bad4e (diff)
downloadtwinkle-2b66c8c29da03a82a7126a3f28837a31e6c1d997.tar
twinkle-2b66c8c29da03a82a7126a3f28837a31e6c1d997.tar.gz
twinkle-2b66c8c29da03a82a7126a3f28837a31e6c1d997.tar.lz
twinkle-2b66c8c29da03a82a7126a3f28837a31e6c1d997.tar.xz
twinkle-2b66c8c29da03a82a7126a3f28837a31e6c1d997.zip
libzrtpcpp 4 changes (#12)
Diffstat (limited to '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)