Skip to content

Commit

Permalink
exiv2: fix exiv2.pc file
Browse files Browse the repository at this point in the history
This fix comes from #71669.
  • Loading branch information
worldofpeace committed Feb 26, 2020
1 parent 3a0da44 commit ff41002
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/exiv2/default.nix
Expand Up @@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DEXIV2_BUILD_PO=ON"
"-DEXIV2_BUILD_DOC=ON"
# the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
# (setting it to an absolute path causes include files to go to $out/$out/include,
# because the absolute path is interpreted with root at $out).
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
];

outputs = [ "out" "dev" "doc" "man" ];
Expand Down

0 comments on commit ff41002

Please sign in to comment.