mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 13:59:02 +08:00
49e62c5f6b
* [tree-sitter] fix a typo in pkg-config file * [tree-sitter] add port-version * [tree-sitter] add version
23 lines
612 B
Diff
23 lines
612 B
Diff
diff --git a/tree-sitter.pc.in b/lib/tree-sitter.pc.in
|
|
similarity index 61%
|
|
rename from tree-sitter.pc.in
|
|
rename to lib/tree-sitter.pc.in
|
|
index f98816cb..71a3b4f9 100644
|
|
--- a/tree-sitter.pc.in
|
|
+++ b/lib/tree-sitter.pc.in
|
|
@@ -1,10 +1,10 @@
|
|
-prefix=@PREFIX@
|
|
-libdir=@LIBDIR@
|
|
-includedir=@INCLUDEDIR@
|
|
+prefix=@CMAKE_INSTALL_PREFIX@
|
|
+libdir=${prefix}/lib
|
|
+includedir=${prefix}/include
|
|
|
|
Name: tree-sitter
|
|
Description: An incremental parsing system for programming tools
|
|
URL: https://tree-sitter.github.io/
|
|
-Version: @VERSION@
|
|
+Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -ltree-sitter
|
|
Cflags: -I${includedir}
|