diff options
| author | Fabien Péan <fabien@pean.pro> | 2020-09-23 01:03:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 16:03:27 -0700 |
| commit | 03d760cfda1b92b4c1d8a97e7417ad28c8150a52 (patch) | |
| tree | 76b70b382f66a68c77e61f1abce0a1a52bf4e98c | |
| parent | 7339aea6f57e85a37ff14e887c5bc040c6f0ac41 (diff) | |
| download | vcpkg-03d760cfda1b92b4c1d8a97e7417ad28c8150a52.tar.gz vcpkg-03d760cfda1b92b4c1d8a97e7417ad28c8150a52.zip | |
[polyclipping] Fix cmake patch for include directory (#13668)
| -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>) |
