From fd896d2476e087090196287cba64843db87533e5 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 20 Sep 2016 22:11:42 -0700 Subject: CMake: Simplify pkg-config support Merge USEOWNSUBDIR and PKGCONFIG build flags; move the pkg-config source file to scripts/. --- scripts/pugixml.pc.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/pugixml.pc.in (limited to 'scripts') diff --git a/scripts/pugixml.pc.in b/scripts/pugixml.pc.in new file mode 100644 index 0000000..3c97c28 --- /dev/null +++ b/scripts/pugixml.pc.in @@ -0,0 +1,11 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +includedir=${prefix}/include/pugixml-@PUGIXML_VERSION_STRING@ +libdir=${exec_prefix}/lib/pugixml-@PUGIXML_VERSION_STRING@ + +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} +Libs: -L${libdir} -lpugixml \ No newline at end of file -- cgit v1.2.3