Commit 21a5b667 authored by Ghislain MARY's avatar Ghislain MARY

Correctly handle bctoolbox dependency of flexisip.

parent a6770b3e
......@@ -231,11 +231,7 @@ else()
add_dependencies(TARGET_linphone_builder TARGET_flexisip)
add_dependencies(TARGET_flexisip TARGET_ortp)
if(ENABLE_PRESENCE)
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES)
linphone_builder_add_builder_to_target(TARGET_flexisip antlr3c)
linphone_builder_add_builder_to_target(TARGET_flexisip polarssl)
endif()
linphone_builder_add_builder_to_target(TARGET_flexisip bellesip)
add_dependencies(TARGET_flexisip TARGET_bctoolbox TARGET_bellesip)
endif()
if(ENABLE_BC_ODBC)
linphone_builder_add_builder_to_target(TARGET_flexisip unixodbc)
......
......@@ -192,6 +192,9 @@ macro(linphone_builder_create_targets_list)
list(APPEND LINPHONE_BUILDER_TARGETS "belle-sip" "ortp" "ms2" "ms2-plugins" "bctoolbox" "linphone")
elseif(LINPHONE_BUILDER_TARGET STREQUAL "flexisip")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp" "flexisip")
if(ENABLE_PRESENCE)
list(APPEND LINPHONE_BUILDER_TARGETS "belle-sip" "bctoolbox")
endif()
elseif(LINPHONE_BUILDER_TARGET STREQUAL "odb")
list(APPEND LINPHONE_BUILDER_TARGETS "odb" )
elseif(LINPHONE_BUILDER_TARGET STREQUAL "bctoolbox")
......
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