mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:41:28 +08:00
00413b7537
* [tree-sitter] add new port * ci: test support for uwp * fixup: address review comments * chore: update git-version * fixup: skip removing non-existent binaries * refactor: patch the upstream pkgconfig instead * fixup: remove unnecessary vcpkg-cmake-wrapper this is only used for overriding CMake's builtins * Bump cmake_minimum_required Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Fix version database Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
23 lines
613 B
Diff
23 lines
613 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}
|