Skip to content

Commit

Permalink
Installed Clipper2.pc:: Use canonical way to refer to inc and libdir (#…
Browse files Browse the repository at this point in the history
…937)

Cmake already provides variables where the installed libraries
and include directories end up, so use these for most compatible
way of generating the package config.
  • Loading branch information
hzeller authored Jan 26, 2025
1 parent 41b5f01 commit 51bb284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CPP/Clipper2.pc.cmakein
Original file line number Diff line number Diff line change
@@ -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++
Expand Down

0 comments on commit 51bb284

Please sign in to comment.