From 41ca8257935d8f27bae3b872028d46a16efc606e Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Tue, 16 Apr 2019 12:40:20 +1000 Subject: Revert "Revert "Add support for installing as a library"" This reverts commit 052bf4ee8ac2c8772a926374bfd5d22bb3faa877. Signed-off-by: Mark Farrugia --- avirt.pc.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 avirt.pc.in (limited to 'avirt.pc.in') 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 -- cgit 1.2.3-korg