the build system does not install the pkg-config files when MinGW (with MSYS natively or as a crosscompiler from a Unix system) is in use as the compiler toolchain. This is because in CMakeLists.txt all .pc files are subject to this condition:
if (UNIX AND NOT APPLE)
UNIX is not set when targetting Windows, regardless of whether it's MinGW or VisualStudio.
You should probably not make the assumption pkg-config is only in use when compiling for Unix systems. Instead, a new flag
CEGUI_BUILD_PKGCONFIG or similar would be nice. You can still have this flag default to OFF on non-unix systems.
Also be ensure that the pkg-config file includes
CEGUI_STATIC as a required flag when CEGUI is compiled statically.
- Reproducibility: Always
- Operating system: Gentoo Linux 64-bits
- Reproduction steps: See #1131