Commit f0a3ce20 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Try to fix flexisip build without ODB

parent 9e27991e
......@@ -42,7 +42,11 @@ list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_TRANSCODER=NO")
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_ODB=${ENABLE_ODB}")
if(ENABLE_ODB)
message(STATUS "Flexisip to be built with ODB")
list(APPEND EP_flexisip_DEPENDENCIES EP_libodbmysql)
else()
message(STATUS "Flexisip to be built without ODB")
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--enable-libodb=no")
endif()
list(APPEND EP_flexisip_CMAKE_OPTIONS "-DENABLE_ODBC=${ENABLE_ODBC}")
......
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