Why latest Debian's Sid (Sid, which is after Debian Buster 10.0) testing repositories doesn't contain .pc file for pkg-config?
Result of dpkg -L freeglut3-dev
:
/.
/usr
/usr/include
/usr/include/GL
/usr/include/GL/glut.h
/usr/include/GL/freeglut_std.h
/usr/include/GL/freeglut_ext.h
/usr/include/GL/freeglut.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libglut.a
/usr/share
/usr/share/doc
/usr/share/doc/freeglut3-dev
/usr/share/doc/freeglut3-dev/changelog.gz
/usr/share/doc/freeglut3-dev/index.html
/usr/share/doc/freeglut3-dev/progress.html
/usr/share/doc/freeglut3-dev/ogl_sm.png
/usr/share/doc/freeglut3-dev/download.html
/usr/share/doc/freeglut3-dev/freeglut_user_interface.html
/usr/share/doc/freeglut3-dev/copyright
/usr/share/doc/freeglut3-dev/freeglut_logo.png
/usr/share/doc/freeglut3-dev/freeglut.html
/usr/share/doc/freeglut3-dev/structure.html
/usr/share/doc/freeglut3-dev/changelog.Debian.gz
/usr/lib/x86_64-linux-gnu/libglut.so
Note that in freeglut's repository there is freeglut.pc.in file and is included in CMakeLists.txt.
I know that there are some threads about this issue, but they don't refer to any Linux distribution.
Related question: installing Freeglut on Linux.
cmake --help-module-list | grep -i glut
. – Inamorata