diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-01-08 08:05:46 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-01-08 10:47:44 +1000 |
commit | 1c8dfa1560669040c0f0857028ed300668adb3ea (patch) | |
tree | fe4e38f61ae8205a527420cda1c41ba6549d9ebd /tools/depends | |
parent | b6bc1290bc1be980d434033876fb2cd2c6d7546c (diff) |
[cmake] Module gtest use version helper
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/target/googletest/GOOGLETEST-VERSION | 3 | ||||
-rw-r--r-- | tools/depends/target/googletest/Makefile | 10 |
2 files changed, 5 insertions, 8 deletions
diff --git a/tools/depends/target/googletest/GOOGLETEST-VERSION b/tools/depends/target/googletest/GOOGLETEST-VERSION new file mode 100644 index 0000000000..af9cb9d2ae --- /dev/null +++ b/tools/depends/target/googletest/GOOGLETEST-VERSION @@ -0,0 +1,3 @@ +LIBNAME=googletest +VERSION=1.10.0 +ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz diff --git a/tools/depends/target/googletest/Makefile b/tools/depends/target/googletest/Makefile index c94e6e40e7..e8454130af 100644 --- a/tools/depends/target/googletest/Makefile +++ b/tools/depends/target/googletest/Makefile @@ -1,11 +1,5 @@ -include ../../Makefile.include -DEPS= ../../Makefile.include Makefile - -# lib name, version -LIBNAME=googletest -VERSION=1.10.0 -SOURCE=$(LIBNAME)-$(VERSION) -ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz +include ../../Makefile.include GOOGLETEST-VERSION +DEPS= ../../Makefile.include Makefile GOOGLETEST-VERSION LIBDYLIB=$(PLATFORM)/build/lib/libgtest.a |