Commit dc9c5ac9 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Add soci to flexisip builder for RPM

parent 96d010ff
......@@ -22,7 +22,7 @@
set(EP_flexisip_GIT_REPOSITORY "git://git.linphone.org/flexisip" CACHE STRING "flexisip repository URL")
set(EP_flexisip_GIT_TAG_LATEST "master" CACHE STRING "flexisip tag to use when compiling latest version")
set(EP_flexisip_GIT_TAG "0b733d671bbb72e2aa2708f37ba49e8801203154" CACHE STRING "flexisip tag to use")
set(EP_flexisip_GIT_TAG "69006e95b3b1acb13c72f02a4f2638ae9c7fb1d4" CACHE STRING "flexisip tag to use")
set(EP_flexisip_EXTERNAL_SOURCE_PATHS "<LINPHONE_BUILDER_TOP_DIR>")
set(EP_flexisip_GROUPABLE YES)
......@@ -78,6 +78,13 @@ else()
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--disable-redis")
endif()
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_SOCI=${ENABLE_SOCI}")
if(ENABLE_SOCI)
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--enable-soci")
else()
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--disable-soci")
endif()
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_PUSHNOTIFICATION=${ENABLE_PUSHNOTIFICATION}")
if(ENABLE_PUSHNOTIFICATION)
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--enable-pushnotification")
......
......@@ -71,6 +71,7 @@ ENDFOREACH()
set(DEFAULT_VALUE_ENABLE_ODBC ON)
set(DEFAULT_VALUE_ENABLE_PUSHNOTIFICATION ON)
set(DEFAULT_VALUE_ENABLE_REDIS ON)
set(DEFAULT_VALUE_ENABLE_SOCI ON)
set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_STATIC=NO")
......@@ -128,6 +129,10 @@ if (ENABLE_PRESENCE)
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--enable-presence")
endif()
if (ENABLE_SOCI)
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--enable-soci")
endif()
if(ENABLE_BC_ODBC)
set(EP_unixodbc_BUILD_METHOD "rpm")
set(EP_myodbc_BUILD_METHOD "rpm")
......
......@@ -43,3 +43,6 @@ add_feature_info("XSDCXX_ROOT_PATH" XSDCXX_ROOT_PATH "Path of where the bin/xsdc
option(ENABLE_SNMP "Enable SNMP support" "${DEFAULT_ENABLE_SNMP}")
add_feature_info("ENABLE_SNMP" ENABLE_SNMP "Enable SNMP support")
option(ENABLE_SOCI "Enable SOCI support" "${DEFAULT_ENABLE_SOCI}")
add_feature_info("ENABLE_SOCI" ENABLE_SOCI "Enable SOCI support")
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