blob: 2435fe04600bdb183d7b962b1c79c3552baa1495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
+)
|