We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f28a33 commit a10cda5Copy full SHA for a10cda5
CMakeLists.txt
@@ -1373,6 +1373,13 @@ if (LLAMA_METAL)
1373
endif()
1374
1375
1376
+configure_file(cmake/llama.pc.in
1377
+ "${CMAKE_CURRENT_BINARY_DIR}/llama.pc"
1378
+ @ONLY)
1379
+
1380
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/llama.pc"
1381
+ DESTINATION lib/pkgconfig)
1382
1383
#
1384
# programs, examples and tests
1385
cmake/llama.pc.in
@@ -0,0 +1,10 @@
1
+prefix=@CMAKE_INSTALL_PREFIX@
2
+exec_prefix=${prefix}
3
+libdir=${exec_prefix}/lib
4
+includedir=${prefix}/include
5
6
+Name: llama
7
+Description: Port of Facebook's LLaMA model in C/C++
8
+Version: @PROJECT_VERSION@
9
+Libs: -L${libdir} -lllama
10
+Cflags: -I${includedir}
0 commit comments