Commit 5c60564d authored by Ghislain MARY's avatar Ghislain MARY

Fix build without SRTP.

parent 5c350757
......@@ -48,12 +48,14 @@ else()
if(${ENABLE_SRTP})
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--with-srtp=${CMAKE_INSTALL_PREFIX}")
list(APPEND EP_ortp_DEPENDENCIES EP_srtp)
endif(${ENABLE_SRTP})
else()
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--with-srtp=none")
endif()
if(${ENABLE_ZRTP})
list(APPEND EP_ortp_DEPENDENCIES EP_bzrtp)
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--enable-zrtp")
else(${ENABLE_ZRTP})
else()
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--disable-zrtp")
endif(${ENABLE_ZRTP})
endif()
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment