mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 11:17:45 +00:00
cxxopts: fix path in pkg-config file
This commit is contained in:
parent
23fa3f2fde
commit
4f047072ff
@ -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…
Reference in New Issue
Block a user