Commit c753ca76 authored by Ghislain MARY's avatar Ghislain MARY

Fix regression with external projects source location.

parent 1e1c3ef3
......@@ -662,12 +662,10 @@ macro(linphone_builder_add_external_project PROJNAME)
if(EP_${PROJNAME}_URL_HASH)
list(APPEND DOWNLOAD_SOURCE URL_HASH ${EP_${PROJNAME}_URL_HASH})
endif()
elseif(EP_${PROJNAME}_GIT_REPOSITORY)
set(DOWNLOAD_SOURCE GIT_REPOSITORY ${EP_${PROJNAME}_GIT_REPOSITORY} GIT_TAG ${EP_${PROJNAME}_GIT_TAG})
elseif(EP_${PROJNAME}_SVN_REPOSITORY)
set(DOWNLOAD_SOURCE SVN_REPOSITORY ${EP_${PROJNAME}_SVN_REPOSITORY})
else()
message(FATAL_ERROR "No valid source defined for project '${PROJNAME}'")
set(DOWNLOAD_SOURCE GIT_REPOSITORY ${EP_${PROJNAME}_GIT_REPOSITORY} GIT_TAG ${EP_${PROJNAME}_GIT_TAG})
endif()
linphone_builder_filter_out_inexistent_dependencies(${PROJNAME})
......
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