Commit b5d64440 authored by Ghislain MARY's avatar Ghislain MARY

Fix dependencies when building ms2-plugins target.

parent 2b35b837
......@@ -181,19 +181,19 @@ endmacro()
macro(linphone_builder_create_targets_list)
set(LINPHONE_BUILDER_TARGETS )
if(LINPHONE_BUILDER_TARGET STREQUAL "belle-sip")
list(APPEND LINPHONE_BUILDER_TARGETS "belle-sip" "bctoolbox")
list(APPEND LINPHONE_BUILDER_TARGETS "bctoolbox" "belle-sip")
elseif(LINPHONE_BUILDER_TARGET STREQUAL "ortp")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp")
elseif(LINPHONE_BUILDER_TARGET STREQUAL "ms2")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp" "ms2" "bctoolbox")
list(APPEND LINPHONE_BUILDER_TARGETS "bctoolbox" "ortp" "ms2")
elseif(LINPHONE_BUILDER_TARGET STREQUAL "ms2-plugins")
list(APPEND LINPHONE_BUILDER_TARGETS "ortp" "ms2" "ms2-plugins")
list(APPEND LINPHONE_BUILDER_TARGETS "bctoolbox" "ortp" "ms2" "ms2-plugins")
elseif(LINPHONE_BUILDER_TARGET STREQUAL "linphone")
list(APPEND LINPHONE_BUILDER_TARGETS "belle-sip" "ortp" "ms2" "ms2-plugins" "bctoolbox" "linphone")
list(APPEND LINPHONE_BUILDER_TARGETS "bctoolbox" "belle-sip" "ortp" "ms2" "ms2-plugins" "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")
list(APPEND LINPHONE_BUILDER_TARGETS "bctoolbox" "belle-sip")
endif()
elseif(LINPHONE_BUILDER_TARGET STREQUAL "odb")
list(APPEND LINPHONE_BUILDER_TARGETS "odb" )
......
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