ref: b722f3ea47ce546a2320dd825df7d279b1d1f7d2
parent: 241e9b775777a8dba2fa370f7fb73afd88aa6859
parent: 5433c8dc3216d858c16684421c504ca312470b75
author: YangChun Qian <yanqian@cisco.com>
date: Fri Oct 12 10:25:28 EDT 2018
Merge pull request #3028 from GuangweiWang/fix-issue-external replace gtest master branch with a stable branch
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@
PROJECT_NAME=openh264
MODULE_NAME=gmpopenh264
GMP_API_BRANCH=Firefox39
+GTEST_VER=release-1.8.1
CCASFLAGS=$(CFLAGS)
STATIC_LDFLAGS=-lstdc++
STRIP ?= strip
@@ -175,7 +176,8 @@
cd gmp-api && git fetch origin && git checkout $(GMP_API_BRANCH)
gtest-bootstrap:
- if [ ! -d gtest ] ; then git clone https://github.com/google/googletest.git gtest ; fi
+ if [ ! -d gtest ] ; then git clone https://github.com/google/googletest.git gtest && \
+ cd gtest && git checkout -b $(GTEST_VER) $(GTEST_VER) ; fi
ifeq ($(HAVE_GTEST),Yes)