aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/googletest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/googletest/Makefile')
-rw-r--r--tools/depends/target/googletest/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/depends/target/googletest/Makefile b/tools/depends/target/googletest/Makefile
index e8454130af..88fe16082c 100644
--- a/tools/depends/target/googletest/Makefile
+++ b/tools/depends/target/googletest/Makefile
@@ -1,14 +1,12 @@
-include ../../Makefile.include GOOGLETEST-VERSION
-DEPS= ../../Makefile.include Makefile GOOGLETEST-VERSION
+include ../../Makefile.include GOOGLETEST-VERSION ../../download-files.include
+DEPS = ../../Makefile.include Makefile GOOGLETEST-VERSION ../../download-files.include
LIBDYLIB=$(PLATFORM)/build/lib/libgtest.a
all: .installed-$(PLATFORM)
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
+$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(CMAKE) -B build -DBUILD_GMOCK:BOOL=OFF