Do not force C++11: gtest 1.13.0 requires at least C++14

This commit is contained in:
lyn1001 2023-08-25 15:40:10 +08:00
parent b57f223611
commit 1f1d96d7f8

View File

@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: rapidjson
Version: 1.1.0
Release: 10
Release: 11
Summary: small & selft-contained fast JSON parser and generator for C++
License: MIT
URL: http://miloyip.github.io/rapidjson
@ -54,7 +54,7 @@ done
%build
cd build
%cmake -DDOC_INSTALL_DIR=%{_pkgdocdir} -DGTESTSRC_FOUND=TRUE -DGTEST_SOURCE_DIR=. ..
%cmake -DDOC_INSTALL_DIR=%{_pkgdocdir} -DRAPIDJSON_BUILD_CXX11:BOOL=OFF -DGTESTSRC_FOUND=TRUE -DGTEST_SOURCE_DIR=. ..
%make_build
cd -
@ -88,6 +88,9 @@ cd -
%doc %{_pkgdocdir}
%changelog
* Fri Aug 25 2023 liyanan <thistleslyn@163.com> - 1.1.0-11
- Do not force C++11: gtest 1.13.0 requires at least C++14
* Wed Jul 29 2020 lingsheng <lingsheng@huawei.com> - 1.1.0-10
- Not use hardlink absolute path