简体   繁体   中英

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 ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM