Commit f3f21050 authored by Simon Morlat's avatar Simon Morlat

Fix flexisip build.

parent e9710cd4
......@@ -52,6 +52,7 @@ endif()
lcb_cmake_options(
"-DENABLE_TRANSCODER=${ENABLE_TRANSCODER}"
"-DENABLE_UNIT_TESTS=${ENABLE_UNIT_TESTS}"
"-DENABLE_ODBC=NO"
"-DENABLE_REDIS=${ENABLE_REDIS}"
"-DENABLE_SOCI=${ENABLE_SOCI}"
......
......@@ -64,9 +64,10 @@ if(LSB_RELEASE_DISTRO STREQUAL "Debian" AND (LSB_RELEASE_DISTRO_VERSION STREQUAL
else()
set(DEFAULT_VALUE_ENABLE_MBEDTLS ON)
endif()
set(DEFAULT_VALUE_ENABLE_TRANSCODER ON)
set(DEFAULT_VALUE_ENABLE_REDIS ON)
set(DEFAULT_VALUE_ENABLE_SOCI ON)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS ON)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS OFF)
set(ENABLE_SRTP NO CACHE BOOL "" FORCE) # Mainly to avoid issues with old libsrtp (sha1_update conflict with polarssl)
set(DEFAULT_VALUE_CMAKE_LINKING_TYPE "-DENABLE_SHARED=YES" "-DENABLE_STATIC=NO")
......@@ -95,6 +96,7 @@ lcb_builder_cmake_options(linphone
lcb_builder_cmake_options(soci
"-DWITH_MYSQL=ON"
"-DWITH_POSTGRESQL=ON"
"-DSOCI_SHARED=ON"
)
# prepare the RPMBUILD options that we need to pass
......
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