Skip to content

Commit 17e67f0

Browse files
hzellerrgriege
authored andcommitted
Installed Clipper2.pc:: Use canonical way to refer to inc and libdir (AngusJohnson#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.
1 parent 24dad98 commit 17e67f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPP/Clipper2.pc.cmakein

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=${prefix}
3-
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
4-
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
3+
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
4+
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
55

66
Name: Clipper2@PCFILE_LIB_SUFFIX@
77
Description: A Polygon Clipping and Offsetting library in C++

0 commit comments

Comments
 (0)