From 6d69483bbc6f2503094643728b2492ac9b26c6f0 Mon Sep 17 00:00:00 2001 From: peterbud Date: Mon, 12 Sep 2016 21:44:20 +0200 Subject: Adding PKG-CONFIG support Also creating a separate install directory under INCLUDE and LIB directories --- misc/cmake/pugixml.pc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/cmake/pugixml.pc (limited to 'misc/cmake') diff --git a/misc/cmake/pugixml.pc b/misc/cmake/pugixml.pc new file mode 100644 index 0000000..f9fe479 --- /dev/null +++ b/misc/cmake/pugixml.pc @@ -0,0 +1,11 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +includedir=${prefix}/@INSTALL_INCLUDE_DIR@ +libdir=${exec_prefix}/@INSTALL_LIB_DIR@ + +Name: pugixml +Description: Light-weight, simple and fast XML parser for C++ with XPath support. +URL: http://pugixml.org/ +Version: @PUGIXML_VERSION_STRING@ +Cflags: -I${includedir}/pugixml-@PUGIXML_VERSION_STRING@ +Libs: -L${libdir}/pugixml-@PUGIXML_VERSION_STRING@ -lpugixml \ No newline at end of file -- cgit v1.2.3