libcsptr: fix build with CMake 4.0
Upstream hasn't seen a single commit in the last four years, and there's no `cmake_minimum_required` present in CMakeLists.txt at all, so setting CMAKE_POLICY_VERSION_MINIMUM manually it is.
This commit is contained in:
@@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Smart pointer constructs for the (GNU) C programming language";
|
||||
homepage = "https://github.com/Snaipe/libcsptr";
|
||||
|
||||
Reference in New Issue
Block a user