Przeglądaj źródła

Merge pull request #4974 from BSBandme/fix_benchmark

fix third_party/benchmark submodule init
Yilun Chong 7 lat temu
rodzic
commit
751bf9783f
1 zmienionych plików z 1 dodań i 2 usunięć
  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