Browse Source

fix third_party/benchmark init

Yilun Chong 7 năm trước cách đây
mục cha
commit
517dee8da3
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      benchmarks/Makefile.am

+ 1 - 2
benchmarks/Makefile.am

@@ -90,8 +90,7 @@ $(benchmarks_protoc_outputs_proto2_header): protoc_middleman2
 
 initialize_submodule:
 	oldpwd=`pwd`
-	cd $(top_srcdir)/third_party
-	git submodule update --init -r
+	cd $(top_srcdir) && git submodule update --init -r third_party/benchmark
 	cd $(top_srcdir)/third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make
 	cd $$oldpwd
 	touch initialize_submodule