pkg-config and CMake
pkg-config and CMake If the library that you want to use is not coming with Find<package>. cmake you can use pkg-config files which are stored in “.pc”. The environmental variable PKG_CONFIG_PATH is the place that should point to the “.pc” files. Type in the shell:
1 2 3 |
PKG_CONFIG_PATH=<path-to-directory-containing-the-.pc-file>:${PKG_CONFIG_PATH} export PKG_CONFIG_PATH printenv PKG_CONFIG_PATH |
To get the list of all available package configs, you can […]
pkg-config and CMake Read More »