Commit 8a4471e3 authored by Ghislain MARY's avatar Ghislain MARY

Add builder for zrtp.

parent 42da7a8b
......@@ -32,6 +32,9 @@ endif(${ENABLE_UNIT_TESTS})
if(${ENABLE_SRTP})
list(APPEND LINPHONE_BUILDER_BUILDERS srtp)
endif(${ENABLE_SRTP})
if(${ENABLE_ZRTP})
list(APPEND LINPHONE_BUILDER_BUILDERS zrtp)
endif(${ENABLE_ZRTP})
if(${ENABLE_GSM})
list(APPEND LINPHONE_BUILDER_BUILDERS gsm)
endif(${ENABLE_GSM})
......
......@@ -59,11 +59,9 @@ else(WIN32)
list(APPEND EP_linphone_DEPENDENCIES EP_mssilk)
endif(${ENABLE_SILK})
if(${ENABLE_ZRTP})
# TODO
else(${ENABLE_ZRTP})
if(NOT ${ENABLE_ZRTP})
list(APPEND EP_linphone_CONFIGURE_OPTIONS "--disable-zrtp")
endif(${ENABLE_ZRTP})
endif(NOT ${ENABLE_ZRTP})
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_linphone_DEPENDENCIES EP_cunit)
......
......@@ -47,7 +47,7 @@ else(WIN32)
endif(${ENABLE_SRTP})
if(${ENABLE_ZRTP})
# TODO
list(APPEND EP_ortp_DEPENDENCIES EP_zrtp)
else(${ENABLE_ZRTP})
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--disable-zrtp")
endif(${ENABLE_ZRTP})
......
############################################################################
# zrtp.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set(EP_zrtp_GIT_REPOSITORY "https://github.com/wernerd/ZRTPCPP.git")
set(EP_zrtp_GIT_TAG "761339643ee278e1f532713b959c6bb212040206") # Branch 'master'
set(EP_zrtp_CMAKE_OPTIONS "-DCORE_LIB=1 -DSDES=0")
set(EP_zrtp_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_zrtp_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
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