mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:49:07 +08:00
[polyclipping] Fix cmake patch for include directory (#13668)
This commit is contained in:
parent
7339aea6f5
commit
03d760cfda
@ -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.
|
||||
|
@ -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>)
|
||||
|
Loading…
Reference in New Issue
Block a user