Commit 5aa07a35 authored by Ghislain MARY's avatar Ghislain MARY

Fix order of builders when grouping them.

parent 02cf995d
......@@ -908,12 +908,16 @@ endmacro()
macro(linphone_builder_add_grouped_external_source_path_projects)
set(_grouped_builders)
if(LINPHONE_BUILDER_EXTERNAL_SOURCE_PATH_BUILDERS)
foreach (_builder ${LINPHONE_BUILDER_EXTERNAL_SOURCE_PATH_BUILDERS})
if(EP_${_builder}_GROUPABLE)
list(APPEND _grouped_builders ${_builder})
foreach (_builder ${LINPHONE_BUILDER_INCLUDED_BUILDERS})
list(FIND LINPHONE_BUILDER_EXTERNAL_SOURCE_PATH_BUILDERS ${_builder} _found)
if(NOT _found EQUAL -1)
if(EP_${_builder}_GROUPABLE)
list(APPEND _grouped_builders ${_builder})
endif()
endif()
endforeach()
endif()
if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS AND _grouped_builders)
make_directory("${LINPHONE_BUILDER_WORK_DIR}/Source/EP_linphone_builder")
set(_linphone_builder_file "${LINPHONE_BUILDER_WORK_DIR}/Source/EP_linphone_builder/CMakeLists.txt")
......
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