POPPLER_CREATE_INSTALL_PKGCONFIG (cmake/modules/PopplerMacros.cmake) does not install *.pc files
If I build poppler with MSVC (or clang with MSVC compatibility) *.pc are not installed because of condition in cmake/modules/PopplerMacros.cmake
IMO this is not correct approach:
- pc file has nothing to do with compiler
- if somebody want to limit installation of pc file, it should be related to presence of pkg_config (PKG_CONFIG_EXECUTABLE). In such case I would suggest to at least print message that pc files will not be installed.
Personally I would install pc files always as user can install pkg_config later so there is no need to reinstall poppler.