aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/polyclipping/fix_targets.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/polyclipping/fix_targets.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/polyclipping/fix_targets.patch')
-rw-r--r--vcpkg/ports/polyclipping/fix_targets.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/polyclipping/fix_targets.patch b/vcpkg/ports/polyclipping/fix_targets.patch
new file mode 100644
index 0000000..ebae8f6
--- /dev/null
+++ b/vcpkg/ports/polyclipping/fix_targets.patch
@@ -0,0 +1,17 @@
+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,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 )
++
++install(TARGETS polyclipping EXPORT polyclippingConfig)
++
++install(
++ EXPORT polyclippingConfig
++ NAMESPACE polyclipping::
++ DESTINATION share/polyclipping
++)
++target_include_directories(polyclipping PUBLIC $<INSTALL_INTERFACE:include>)