depot/third_party/nixpkgs/pkgs/by-name/cl/clipper2/0001-fix-pc-paths.patch
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

14 lines
476 B
Diff

diff --git a/Clipper2.pc.cmakein b/Clipper2.pc.cmakein
index 5632c93..0a5d6ba 100644
--- a/Clipper2.pc.cmakein
+++ b/Clipper2.pc.cmakein
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: Clipper2@PCFILE_LIB_SUFFIX@
Description: A Polygon Clipping and Offsetting library in C++