tinyobjloader: fix build with cmake 4

This commit is contained in:
wrvsrx
2025-10-07 21:29:58 +08:00
parent 8913c168d1
commit 1c7cbe4f5b
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [ (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") ];
# https://github.com/tinyobjloader/tinyobjloader/issues/336
postPatch = ''
substituteInPlace tinyobjloader.pc.in \