vcpkg/ports/polyclipping/fix_targets.patch
ras0219 f6df03b4a8
[assimp][irrxml][kubazip][poly2tri][polyclipping] Extract vendored dependencies (#13264)
* [assimp] Fix -config.cmake files

* [assimp] Fix linux build and provide backwards-compatible alias

* [assimp][irrxml][kubazip][poly2tri][polyclipping] Extract vendored dependencies

* [assimp] Use find_dependency(); add ZLIB dependency

* [polyclipping] Do not suffix upstream binaries

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2020-09-09 20:40:15 -07:00

17 lines
552 B
Diff

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}")
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
+)