diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-03-04 14:14:39 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-03-07 20:07:34 +1000 |
commit | 22566a835e19a0bc60dfd74e5ea88372af20c77b (patch) | |
tree | e70e4e2c948ad4690223f3d59ba72ab00adb1fba /tools/depends | |
parent | 780aebfbd2e13a21fa09f3a65144c2162b0bfee8 (diff) |
[cmake] FindGtest utilise automated variables
Use automated BYPRODUCT, INCLUDE_DIRS, LIBRARY, VER variables
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/target/gtest/GTEST-VERSION | 1 | ||||
-rw-r--r-- | tools/depends/target/gtest/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/depends/target/gtest/GTEST-VERSION b/tools/depends/target/gtest/GTEST-VERSION index 66e06e93c4..2631fa1e30 100644 --- a/tools/depends/target/gtest/GTEST-VERSION +++ b/tools/depends/target/gtest/GTEST-VERSION @@ -2,3 +2,4 @@ LIBNAME=gtest VERSION=1.10.0 ARCHIVE=googletest-$(VERSION).tar.gz SHA512=bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9 +BYPRODUCT=libgtest.a diff --git a/tools/depends/target/gtest/Makefile b/tools/depends/target/gtest/Makefile index 9a54702aec..0b892a1213 100644 --- a/tools/depends/target/gtest/Makefile +++ b/tools/depends/target/gtest/Makefile @@ -1,7 +1,7 @@ include ../../Makefile.include GTEST-VERSION ../../download-files.include DEPS = ../../Makefile.include Makefile GTEST-VERSION ../../download-files.include -LIBDYLIB=$(PLATFORM)/build/lib/libgtest.a +LIBDYLIB=$(PLATFORM)/build/lib/$(BYPRODUCT) all: .installed-$(PLATFORM) |