summaryrefslogtreecommitdiff
path: root/libiio.pc.cmakein
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2024-04-25 21:28:08 +0000
committerSadaf Ebrahimi <sadafebrahimi@google.com>2024-04-25 21:28:08 +0000
commit66c87e00364040f3d258d58301dcf06bc5749451 (patch)
tree8ef1ac5ece7c909ae7a9b7668f7f9a8022d337c8 /libiio.pc.cmakein
parent4bb88ceabd40ae27ea9996ea8e34f79d4f8f9fe4 (diff)
downloadlibiio-66c87e00364040f3d258d58301dcf06bc5749451.tar.gz
Restructure libiio to match with upstream
The src/ directory doesn't exist in upstream. There was no OWNERS file. METADATA file was wrong. This is an archive. Test: TreeHugger Change-Id: I56b8aab0c1febf5983fc83d3435454051ab039b5
Diffstat (limited to 'libiio.pc.cmakein')
-rw-r--r--libiio.pc.cmakein12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiio.pc.cmakein b/libiio.pc.cmakein
new file mode 100644
index 0000000..468da5b
--- /dev/null
+++ b/libiio.pc.cmakein
@@ -0,0 +1,12 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+
+Name: libiio
+Description: Library for interfacing IIO devices
+Version: @VERSION@
+
+Requires:
+Libs: -L${libdir} -liio
+Cflags: -I${includedir}