Accepting request 1161373 from home:dspinella:branches:devel:libraries:c_c++

- Fix build with GTest 1.14.0 by using C++14, bsc#1221872

OBS-URL: https://build.opensuse.org/request/show/1161373
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/snappy?expand=0&rev=22
This commit is contained in:
Danilo Spinella 2024-03-25 11:36:48 +00:00 committed by Git OBS Bridge
parent eef6e203d4
commit 9fc9daacc5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 25 11:34:39 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
- Fix build with GTest 1.14.0 by using C++14, bsc#1221872
-------------------------------------------------------------------
Fri Nov 10 13:54:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package snappy
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -74,7 +74,7 @@ This package holds the development files for snappy.
%autosetup
%build
%cmake -DSNAPPY_USE_BUNDLED_GTEST=OFF -DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF
%cmake -DSNAPPY_USE_BUNDLED_GTEST=OFF -DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF -DCMAKE_CXX_STANDARD=14
%make_build
%install