mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
Use full CMake paths in pkg-config template
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.
This commit is contained in:
parent
81065748e3
commit
2f178f390f
@ -1,7 +1,5 @@
|
|||||||
prefix=@CMAKE_INSTALL_PREFIX@
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||||
exec_prefix=${prefix}
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||||
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
||||||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
|
||||||
|
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Description: A C++ library for interacting with JSON
|
Description: A C++ library for interacting with JSON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user