3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #81091 from worldofpeace/fix-exiv2-pc

exiv2: fix exiv2.pc file
This commit is contained in:
worldofpeace 2020-02-29 00:11:09 +00:00 committed by GitHub
commit 04384d56cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];