gha3mi / forimage

ForImage - A Fortran library for processing and editing PNM images and managing colors.
https://gha3mi.github.io/forimage/
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Error in the pkg-config libdir variable (CMake) #16

Closed vmagnin closed 9 months ago

vmagnin commented 9 months ago

https://github.com/gha3mi/forimage/blob/9c123af62a96b99c8eb08bb5b0fe25d599612eb9/install/template.pc#L2C21-L2C46

In install/template.pc:

libdir = ${prefix}/@CMAKE_INSTALL_FULL_LIBDIR@

should be instead:

libdir = ${prefix}/@CMAKE_INSTALL_LIBDIR@

Similar to https://github.com/vmagnin/forcolormap/issues/19

gha3mi commented 9 months ago

Thanks! The issue has been fixed.