Commit 5265602c authored by Mickaël Turnel's avatar Mickaël Turnel

Add ENABLE_MDNS option to flexisip

parent 6acb015b
......@@ -29,10 +29,12 @@ lcb_groupable(YES)
#set(EP_flexisip_CONFIG_H_FILE "flexisip.spec")
lcb_spec_file("flexisip.spec")
lcb_dependencies("sofiasip")
lcb_dependencies("bellesip")
if(ENABLE_CONFERENCE)
lcb_dependencies("linphone" "belr")
endif()
if(ENABLE_PRESENCE OR ENABLE_MDNS)
lcb_dependencies("bellesip")
endif()
if(ENABLE_SOCI)
lcb_dependencies("soci")
endif()
......@@ -57,5 +59,6 @@ lcb_cmake_options(
"-DENABLE_SNMP=${ENABLE_SNMP}"
"-DENABLE_DOC=${ENABLE_DOC}"
"-DENABLE_PROTOBUF=${ENABLE_PROTOBUF}"
"-DENABLE_MDNS=${ENABLE_MDNS}"
)
......@@ -84,9 +84,6 @@ include(builders/CMakeLists.txt)
# bctoolbox
lcb_builder_cmake_options(bctoolbox "-DENABLE_TESTS_COMPONENT=${ENABLE_UNIT_TESTS}")
# bellesip
lcb_builder_cmake_options(bellesip "-DENABLE_MDNS=YES")
# linphone
lcb_builder_cmake_options(linphone
"-DENABLE_CONSOLE_UI=NO"
......
......@@ -24,7 +24,7 @@
lcb_add_option("Tunnel" "Secure tunnel for SIP/RTP (require license)." "${DEFAULT_VALUE_ENABLE_TUNNEL}")
lcb_add_option("RTP Map always in SDP" "Always include rtpmap in SDP." OFF)
lcb_add_option("mDNS" "Multicast DNS support" OFF)
lcb_add_option("mDNS" "Multicast DNS support" "${DEFAULT_VALUE_ENABLE_MDNS}")
option(DISABLE_BC_ANTLR "Do not build Antlr as part of the CMake builder, and instead use the system version" "${DEFAULT_VALUE_DISABLE_BC_ANTLR}")
add_feature_info("Belledonne Antlr" DISABLE_BC_ANTLR "Do not build the Belledonne version of Antlr3c")
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