mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
2f178f390f
Using full paths is more versatile. The current solution breaks when specifying an absolute path for CMAKE_INSTALL_INCLUDEDIR which is an otherwise supported option by CMake's GNUInstallDirs. CMake does not support Autoconf-style ${prefix}-pseudo variables, hence trying to emulate the behaviour gains us nothing and breaks providing absolute paths to CMAKE_INSTALL_LIBDIR.
10 lines
277 B
PkgConfig
10 lines
277 B
PkgConfig
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: jsoncpp
|
|
Description: A C++ library for interacting with JSON
|
|
Version: @JSONCPP_VERSION@
|
|
URL: https://github.com/open-source-parsers/jsoncpp
|
|
Libs: -L${libdir} -ljsoncpp
|
|
Cflags: -I${includedir}
|