Unverified Commit 77dd482f authored by Fernando Rodrigues's avatar Fernando Rodrigues Committed by GitHub
Browse files

tinyobjloader: fix build with cmake 4 (#449505)

parents 681ccdb2 1c7cbe4f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 \