Commit 7f0cf341 authored by Ghislain MARY's avatar Ghislain MARY

Move generic sofiasip options to sofiasip builder.

parent 5e840b31
############################################################################
# sofiasip.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
# Copyright (C) 2014-2018 Belledonne Communications, Grenoble France
#
############################################################################
#
......@@ -36,4 +36,8 @@ lcb_cross_compilation_options(
lcb_spec_file("packages/sofia-sip-*.spec")
lcb_rpmbuild_name("sofia-sip")
lcb_rpmbuild_options(
"--with bc"
"--without glib"
)
lcb_use_autotools_for_rpm(YES)
############################################################################
# config-flexisip-rpm.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
# Copyright (C) 2014-2018 Belledonne Communications, Grenoble France
#
############################################################################
#
......@@ -68,8 +68,6 @@ if(UNIX)
set(LINPHONE_BUILDER_PKG_CONFIG_PATH "${RPM_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:$ENV{PKG_CONFIG_PATH}:/usr/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:/usr/${CMAKE_INSTALL_LIBDIR}/x86_64-linux-gnu/pkgconfig/:/usr/share/pkgconfig/:/usr/local/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:/opt/local/${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
message(STATUS "PKG CONFIG PATH: ${LINPHONE_BUILDER_PKG_CONFIG_PATH}")
message(STATUS "LIBDIR: ${LIBDIR}")
else() # Windows
set(LINPHONE_BUILDER_PKG_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/")
endif()
......@@ -100,11 +98,6 @@ lcb_builder_rpmbuild_options(linphone
"--without video"
)
lcb_builder_rpmbuild_options(sofiasip
"--with bc"
"--without glib"
)
lcb_builder_rpmbuild_options(flexisip
"--with bc"
"--with push"
......
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