Arjen Markus wrote:

That said, I will change the CMake code that is responsible for writing the
*.pc files for the FORTRAN 77 and Fortran 90/95 libraries. However,
does this issue come with C++, Java, ... too? Does anyone know?


I updated the relevant CMake files to produce "correct" pkg-config files for
F77 and F95 under Cygwin. I have not looked into the matter of the other languages
or whether MingW would require something similar. (Native Windows is an
entirely different topic, as you can not (easily?) use pkg-config on that platform.)

My tests show that with these changes in place, building a F77 program with g77 that
uses PLplot is as simple as:

g77 -o prog prog.f `pkg-config plplotd-f77 --libs`

(with the possible exception of setting the PKG_CONFIG_PATH environment
variable and - to run it - extending the PATH).