Commit 22aa03ef authored by Ghislain MARY's avatar Ghislain MARY

Some changes for linphone-sdk integration.

parent a6fabe9c
......@@ -23,7 +23,7 @@
lcb_git_repository("https://gitlab.linphone.org/BC/public/external/minizip.git")
lcb_git_tag_latest("master")
lcb_git_tag("d65cd2ea9d740f62884e0beaf8ab86740620c783")
lcb_external_source_paths("externals/minizip")
lcb_external_source_paths("externals/minizip" "../submodules/externals/minizip")
lcb_spec_file("minizip.spec")
lcb_dependencies("zlib")
......
......@@ -280,8 +280,9 @@ class Preparator:
ret |= not self.check_cmake_version()
if submodule_directory_to_check is None:
submodule_directory_to_check = "submodules/linphone/include"
if not os.path.isdir(submodule_directory_to_check):
submodule_directory_to_check1 = "submodules/linphone/include"
submodule_directory_to_check2 = "linphone-sdk/linphone/include"
if not os.path.isdir(submodule_directory_to_check1) and not os.path.isdir(submodule_directory_to_check2):
error("Missing some git submodules. Did you run:\n\tgit submodule update --init --recursive")
ret = 1
......
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