aboutsummaryrefslogtreecommitdiffstats
path: root/avirt.pc.in
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 13:00:41 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 13:17:26 +1100
commit2b26533b81621dbf1359c5e64dd7a59e6d327f62 (patch)
tree454480a155fc9e6df12eeeb48c20e48529170310 /avirt.pc.in
parent63e60e178c215215b549bd441f83e8779cbd8cbe (diff)
Add support for installing as a library
Need to install in AGL SDK rather than use as a submodule. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'avirt.pc.in')
-rw-r--r--avirt.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/avirt.pc.in b/avirt.pc.in
new file mode 100644
index 0000000..7acefa6
--- /dev/null
+++ b/avirt.pc.in
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: @TARGET_NAME@
+Description: @PROJECT_DESCRIPTION@
+Version: @PROJECT_VERSION@
+URL: @PROJECT_URL@
+Libs: -L@CMAKE_INSTALL_LIBDIR@ -l@TARGET_NAME@
+Cflags: -I${includedir} \ No newline at end of file