]> git.pld-linux.org Git - packages/highway.git/commitdiff
- use system gtest
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Oct 2021 17:40:54 +0000 (19:40 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Oct 2021 17:40:54 +0000 (19:40 +0200)
highway.spec

index 59419ce94bf1618c7ed0dd91d9c3af923b6c0ecd..dd6ab15eea00f11926b7cd726b8af9a2a629cc01 100644 (file)
@@ -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}
 
This page took 0.098279 seconds and 4 git commands to generate.