bellesip.cmake 1.64 KB
Newer Older
1
############################################################################
2
# bellesip.cmake
3
# Copyright (C) 2014-2018  Belledonne Communications, Grenoble France
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#
############################################################################
#
# 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
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 21 22
#
############################################################################

23
lcb_git_repository("https://gitlab.linphone.org/BC/public/belle-sip.git")
24 25 26 27
lcb_git_tag_latest("master")
lcb_git_tag("1.5.3")
lcb_external_source_paths("belle-sip")
lcb_groupable(YES)
28
lcb_sanitizable(YES)
29
lcb_package_source(YES)
30 31
lcb_spec_file("belle-sip.spec")
lcb_rpmbuild_name("belle-sip")
32

33 34 35 36
lcb_dependencies("bctoolbox")
if(ENABLE_TUNNEL)
	lcb_dependencies("tunnel")
endif()
37

38 39
if(NOT APPLE AND NOT ANDROID AND NOT QNX)
	lcb_dependencies("zlib")
40
endif()
41

42 43 44 45
lcb_cmake_options(
	"-DENABLE_RTP_MAP_ALWAYS_IN_SDP=${ENABLE_RTP_MAP_ALWAYS_IN_SDP}"
	"-DENABLE_TUNNEL=${ENABLE_TUNNEL}"
	"-DENABLE_TESTS=${ENABLE_UNIT_TESTS}"
46 47
	"-DENABLE_MDNS=${ENABLE_MDNS}"
)