mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
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:
committed by
Érico Rolim
parent
d019ddfcdb
commit
c7d18c1625
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}
|
Reference in New Issue
Block a user