mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gtest: build using make to avoid ninja cycle
This commit is contained in:
parent
15e902cccb
commit
83706c9d2e
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ pkgname=gtest
|
||||||
version=1.12.1
|
version=1.12.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
make_cmd=make # using make to avoid a cycle: ninja -> gtest -> ninja
|
||||||
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON"
|
||||||
hostmakedepends="unzip"
|
hostmakedepends="unzip"
|
||||||
short_desc="Google's framework for writing C++ tests"
|
short_desc="Google's framework for writing C++ tests"
|
||||||
|
@ -12,6 +13,8 @@ homepage="https://github.com/google/googletest"
|
||||||
distfiles="https://github.com/google/googletest/archive/release-${version}.tar.gz"
|
distfiles="https://github.com/google/googletest/archive/release-${version}.tar.gz"
|
||||||
checksum=81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2
|
checksum=81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2
|
||||||
|
|
||||||
|
export CMAKE_GENERATOR="Unix Makefiles"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue