summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9b33eaa..0f07f9a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1373,6 +1373,13 @@ if (LLAMA_METAL)
endif()
endif()
+configure_file(cmake/llama.pc.in
+ "${CMAKE_CURRENT_BINARY_DIR}/llama.pc"
+ @ONLY)
+
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/llama.pc"
+ DESTINATION lib/pkgconfig)
+
#
# programs, examples and tests
#