I'm trying to build mtxclient, which expects a nlohmann_json pkg-config file to exist in the system. 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. Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
5 lines
148 B
CMake
5 lines
148 B
CMake
Name: ${PROJECT_NAME}
|
|
Description: ${PROJECT_DESCRIPTION}
|
|
Version: ${PROJECT_VERSION}
|
|
Cflags: -I${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}
|