The package cannot be built with cmake4 (present in arch now), because of following error CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.
I guess it could use some patching
| Git Clone URL: | https://aur.archlinux.org/redis-plus-plus.git (read-only, click to copy) | 
|---|---|
| Package Base: | redis-plus-plus | 
| Description: | Redis client written in C++ | 
| Upstream URL: | https://github.com/sewenew/redis-plus-plus | 
| Keywords: | c++ cpp redis | 
| Licenses: | Apache-2.0 | 
| Submitter: | cclin | 
| Maintainer: | cclin | 
| Last Packager: | cclin | 
| Votes: | 0 | 
| Popularity: | 0.000000 | 
| First Submitted: | 2020-12-28 03:28 (UTC) | 
| Last Updated: | 2025-09-12 06:34 (UTC) | 
The package cannot be built with cmake4 (present in arch now), because of following error CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.
I guess it could use some patching
Note: By default redis-plus-plus is built with the -std=c++17 standard. and you should build your application with the same standard. In order to explicitly specify c++ standard, you can change the following cmake flag in the PKGBUID to 11 or 14 .
-DREDIS_PLUS_PLUS_CXX_STANDARD=17
Pinned Comments
cclin commented on 2021-12-29 14:05 (UTC) (edited on 2021-12-29 14:06 (UTC) by cclin)
Note: By default redis-plus-plus is built with the -std=c++17 standard. and you should build your application with the same standard. In order to explicitly specify c++ standard, you can change the following cmake flag in the PKGBUID to 11 or 14 .