How to get cmake's PKG_CHECK_MODULES to find my cairo library in Windows
I'm trying to build OpenSceneGraph's pdf plugin on a win32 box. 开发者_运维知识库The plugin is using cmake's PKG_CHECK_MODULES macro to find cairo and poppler libraries. I don't know how to install these in such a way as to help it find them though.
There is no "special" way to install them. Any time you install (a correctly designed) library it also contains a PACKAGENAME.pc file which is copied in a directory where pkg-config can find it.
At least this happens in Linux. I don't know if pkg-config would work like this under win32
Have you also installed pkg-config as well as poppler and cairo?
精彩评论