summaryrefslogtreecommitdiff
path: root/scripts/pugixml.pc.in
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-09-20 22:11:42 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-09-20 22:11:42 -0700
commitfd896d2476e087090196287cba64843db87533e5 (patch)
treea88d3c3b479c6267bfbad842118f9299a93eb825 /scripts/pugixml.pc.in
parent0918dd2b9925995577b5578404a86a6c017b4740 (diff)
CMake: Simplify pkg-config support
Merge USEOWNSUBDIR and PKGCONFIG build flags; move the pkg-config source file to scripts/.
Diffstat (limited to 'scripts/pugixml.pc.in')
-rw-r--r--scripts/pugixml.pc.in11
1 files changed, 11 insertions, 0 deletions
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