entt: remove unused substituteInPlace

substituteStream(): WARNING: pattern '${prefix}/@CMAKE_INSTALL_INCLUDEDIR@' doesn't match anything in file 'cmake/in/entt.pc.in'

It looks like https://github.com/skypjack/entt/issues/890 has been resolved.
This commit is contained in:
Bobby Rong 2022-11-20 12:30:25 +08:00 committed by GitHub
parent f2de4779f7
commit 3c77bae4c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,12 +12,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# https://github.com/skypjack/entt/issues/890
postPatch = ''
substituteInPlace cmake/in/entt.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
meta = with lib; {
homepage = "https://github.com/skypjack/entt";
description = "A header-only, tiny and easy to use library for game programming and much more written in modern C++";