diff options
| -rw-r--r-- | ports/polyclipping/CONTROL | 2 | ||||
| -rw-r--r-- | ports/polyclipping/fix_targets.patch | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/polyclipping/CONTROL b/ports/polyclipping/CONTROL index 819697deb..6ae357588 100644 --- a/ports/polyclipping/CONTROL +++ b/ports/polyclipping/CONTROL @@ -1,5 +1,5 @@ Source: polyclipping Version: 6.4.2 -Port-Version: 5 +Port-Version: 6 Homepage: https://sourceforge.net/projects/polyclipping/ Description: The Clipper library performs clipping and offsetting for both lines and polygons. All four boolean clipping operations are supported - intersection, union, difference and exclusive-or. Polygons can be of any shape including self-intersecting polygons. diff --git a/ports/polyclipping/fix_targets.patch b/ports/polyclipping/fix_targets.patch index 2435fe046..ebae8f69b 100644 --- a/ports/polyclipping/fix_targets.patch +++ b/ports/polyclipping/fix_targets.patch @@ -2,7 +2,7 @@ diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index f0ed7e8..a5ed444 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt -@@ -19,3 +19,11 @@ INSTALL (TARGETS polyclipping LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") +@@ -19,3 +19,12 @@ INSTALL (TARGETS polyclipping LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") INSTALL (FILES "${PCFILE}" DESTINATION "${CMAKE_INSTALL_PKGCONFIGDIR}") SET_TARGET_PROPERTIES(polyclipping PROPERTIES VERSION 22.0.0 SOVERSION 22 ) @@ -14,3 +14,4 @@ index f0ed7e8..a5ed444 100644 + NAMESPACE polyclipping:: + DESTINATION share/polyclipping +) ++target_include_directories(polyclipping PUBLIC $<INSTALL_INTERFACE:include>) |
