diff -urN freeglut-3.2.2/CMakeLists.txt.orig freeglut-3.2.2/CMakeLists.txt
--- freeglut-3.2.2/CMakeLists.txt.orig	2022-06-13 18:12:10.541795000 +0200
+++ freeglut-3.2.2/CMakeLists.txt	2022-06-13 18:14:07.680099200 +0200
@@ -607,7 +607,8 @@
   SET(PC_CFLAGS "-DFREEGLUT_GLES")
 ENDIF()
 IF(FREEGLUT_BUILD_STATIC_LIBS)
-  LIST(APPEND PC_CFLAGS -DFREEGLUT_STATIC)
+  LIST(APPEND PC_CFLAGS_PRIVATE -DFREEGLUT_STATIC)
+  SET_TARGET_PROPERTIES(freeglut_static PROPERTIES OUTPUT_NAME freeglut)
 ENDIF()
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/freeglut.pc.in ${CMAKE_BINARY_DIR}/freeglut.pc @ONLY)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/freeglut.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ RENAME ${PC_FILENAME} COMPONENT Devel)

diff -urN freeglut-3.2.2/freeglut.pc.in.orig freeglut-3.2.2/freeglut.pc.in
--- freeglut-3.2.2/freeglut.pc.in.orig	2015-02-18 01:37:05.000000000 +0100
+++ freeglut-3.2.2/freeglut.pc.in	2022-06-13 18:14:24.996997800 +0200
@@ -8,3 +8,4 @@
 Libs: -L${libdir} -l@PC_LIBNAME@
 Libs.private: @PC_LIBS_PRIVATE@
 Cflags: -I${includedir} @PC_CFLAGS@
+Cflags.private: @PC_CFLAGS_PRIVATE@
