cmake: Generate and install a pkg-config file.
The meson builds install a pkg-config file, but the cmake builds don't. This adds a pkg-config file to the cmake builds that is functionally equivalent to the one generated from meson.
This commit is contained in:
parent
d019ddfcdb
commit
c7d18c1625
2 changed files with 15 additions and 1 deletions
4
cmake/pkg-config.pc.in
Normal file
4
cmake/pkg-config.pc.in
Normal file
|
@ -0,0 +1,4 @@
|
|||
Name: ${PROJECT_NAME}
|
||||
Description: ${PROJECT_DESCRIPTION}
|
||||
Version: ${PROJECT_VERSION}
|
||||
Cflags: -I${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}
|
Loading…
Add table
Add a link
Reference in a new issue