We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b625e commit d5a217dCopy full SHA for d5a217d
3rdparty/depends.py
@@ -164,6 +164,8 @@ def download_libs(self):
164
source_path = os.path.join(SOURCE_DIR, name)
165
if not os.path.exists(source_path):
166
run_cmd("cd %s && git clone %s %s"%(SOURCE_DIR, git_url, name))
167
+ if attr.get('submodule'):
168
+ run_cmd("cd %s/%s && git submodule update --init" %(SOURCE_DIR, name))
169
if attr.get('tag'):
170
run_cmd("cd %s && git checkout %s"%(source_path, attr.get("tag")))
171
3rdparty/depends.yaml
@@ -19,5 +19,8 @@ depends:
19
tag: v0.4.0
20
cmake_args:
21
- -DWITH_GFLAGS=OFF
22
+ rapidhttp:
23
+ git: https://github.com/magicsupery/rapidhttp.git
24
+ submodule: true
25
#glad:
26
#local: true
0 commit comments