vcpkg/ports/draco/fix-pkgconfig.patch
Connor Broyles defe7b7fb3
[draco] Update to v1.5.6 (#31220)
* [draco] Update to v1.5.6

* [draco] Update baseline

* [draco] Fix pkgconfig

* [draco] Update version

* [draco] Use VERSION variable for git ref

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* [draco] Revert line ending change

* [draco] Update version

---------

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2023-05-05 10:55:33 -07:00

14 lines
455 B
Diff

diff --git a/cmake/draco.pc.template b/cmake/draco.pc.template
index 050219c..2886bfc 100644
--- a/cmake/draco.pc.template
+++ b/cmake/draco.pc.template
@@ -1,6 +1,6 @@
Name: @PROJECT_NAME@
Description: Draco geometry de(com)pression library.
Version: @DRACO_VERSION@
-Cflags: -I@includes_path@
-Libs: -L@libs_path@ -ldraco
+Cflags: -I@CMAKE_INSTALL_FULL_INCLUDEDIR@
+Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -ldraco
Libs.private: @CMAKE_THREAD_LIBS_INIT@