cxxopts: fix path in pkg-config file

main
Alexander Shpilkin 2 years ago committed by Artturin
parent 23fa3f2fde
commit 4f047072ff
  1. 6
      pkgs/development/libraries/cxxopts/default.nix

@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
# Conflict on case-insensitive filesystems.
dontUseCmakeBuildDir = true;
# https://github.com/jarro2783/cxxopts/issues/332
postPatch = ''
substituteInPlace packaging/pkgconfig.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
meta = with lib; {
homepage = "https://github.com/jarro2783/cxxopts";
description = "Lightweight C++ GNU-style option parser library";

Loading…
Cancel
Save