Commit 517c9814 authored by Ghislain MARY's avatar Ghislain MARY

Add builder for zlib.

parent 1b63e243
......@@ -175,6 +175,7 @@ else()
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
linphone_builder_add_builder_to_target(TARGET_linphone sqlite3)
linphone_builder_add_builder_to_target(TARGET_linphone xml2)
linphone_builder_add_builder_to_target(TARGET_linphone zlib)
if(ENABLE_UNIT_TESTS)
linphone_builder_add_builder_to_target(TARGET_linphone cunit)
endif()
......
......@@ -50,6 +50,9 @@ if(ENABLE_UNIT_TESTS)
else()
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_UNIT_TESTS=NO")
endif()
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_linphone_DEPENDENCIES EP_zlib)
endif()
if(MSVC)
set(EP_linphone_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
############################################################################
# zlib.cmake
# Copyright (C) 2015 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_zlib_GIT_REPOSITORY "git://git.linphone.org/zlib.git")
set(EP_zlib_GIT_TAG_LATEST "master")
set(EP_zlib_GIT_TAG "91eb77a7c5bfe7b4cc6b722aa96548d7143a9936")
set(EP_zlib_EXTERNAL_SOURCE_PATHS "zlib")
set(EP_zlib_LINKING_TYPE "-DENABLE_STATIC=NO")
if(MSVC)
set(EP_zlib_EXTRA_LDFLAGS "/SAFESEH:NO")
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