- Up to now, the libdir was hardcoded to "lib" inside pugixml.pc and the install directory of pugixml.pc was "lib/pkgconfig" - Adds support for lib and lib64 by using CMAKE_INSTALL_LIBDIR variable
12 lines
359 B
PkgConfig
12 lines
359 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
includedir=${prefix}/include@INSTALL_SUFFIX@
|
|
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@@INSTALL_SUFFIX@
|
|
|
|
Name: pugixml
|
|
Description: Light-weight, simple and fast XML parser for C++ with XPath support.
|
|
URL: http://pugixml.org/
|
|
Version: @pugixml_VERSION@
|
|
Cflags: -I${includedir}
|
|
Libs: -L${libdir} -lpugixml
|