Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKip Warner <kip@thevertigo.com>2021-07-04 04:04:30 +0300
committerKip Warner <kip@thevertigo.com>2021-07-04 04:04:30 +0300
commitba6692c830a7d9cbd96df4fc6862d539d0e54447 (patch)
tree5896afb5748761170e98ac7d8d2f9370fbff8f47 /libcpuinfo.pc.in
parent5916273f79a21551890fd3d56fc5375a78d1598d (diff)
Add support for pkg-config (#60)
Diffstat (limited to 'libcpuinfo.pc.in')
-rw-r--r--libcpuinfo.pc.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcpuinfo.pc.in b/libcpuinfo.pc.in
new file mode 100644
index 0000000..a8fe607
--- /dev/null
+++ b/libcpuinfo.pc.in
@@ -0,0 +1,12 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@libdir_for_pc_file@
+includedir=@includedir_for_pc_file@
+
+Name: libcpuinfo
+Description: Library to detect essential performance optimization information about host CPU.
+Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@
+URL: @PROJECT_HOMEPAGE_URL@
+Libs: -L${libdir} -lcpuinfo
+Cflags: -I${includedir}
+