[packages/highway] - use system gtest
qboosh
qboosh at pld-linux.org
Sun Oct 3 19:36:00 CEST 2021
commit 8564459d66cf63f47c6518f0d9500f4708e8be79
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 3 19:40:54 2021 +0200
- use system gtest
highway.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/highway.spec b/highway.spec
index 59419ce..dd6ab15 100644
--- a/highway.spec
+++ b/highway.spec
@@ -14,6 +14,7 @@ Source0: https://github.com/google/highway/archive/%{version}/%{name}-%{version}
# Source0-md5: 4821b1064a35baa24ea36994c0d58c41
URL: https://github.com/google/highway
BuildRequires: cmake >= 3.10
+BuildRequires: gtest-devel
BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.605
@@ -60,7 +61,8 @@ install -d build
cd build
%cmake .. \
-DCMAKE_INSTALL_INCLUDEDIR=include \
- -DCMAKE_INSTALL_LIBDIR=%{_lib}
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
+ -DHWY_SYSTEM_GTEST=ON
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/highway.git/commitdiff/8564459d66cf63f47c6518f0d9500f4708e8be79
More information about the pld-cvs-commit
mailing list