diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/clipper2/usage | |
Diffstat (limited to 'vcpkg/ports/clipper2/usage')
| -rw-r--r-- | vcpkg/ports/clipper2/usage | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/clipper2/usage b/vcpkg/ports/clipper2/usage new file mode 100644 index 0000000..42e883d --- /dev/null +++ b/vcpkg/ports/clipper2/usage @@ -0,0 +1,21 @@ +The package clipper2 can be imported via CMake FindPkgConfig module: + + # Clipper2 + find_package(PkgConfig REQUIRED) + pkg_check_modules(Clipper2 REQUIRED IMPORTED_TARGET Clipper2) + target_link_libraries(main PkgConfig::Clipper2) + + # Clipper2Z + find_package(PkgConfig REQUIRED) + pkg_check_modules(Clipper2Z REQUIRED IMPORTED_TARGET Clipper2Z) + target_link_libraries(main PkgConfig::Clipper2Z) + +clipper2 provides CMake targets: + + # Clipper2 + find_package(Clipper2 CONFIG REQUIRED) + target_link_libraries(main PRIVATE Clipper2::Clipper2) + + # Clipper2Z + find_package(Clipper2 CONFIG REQUIRED) + target_link_libraries(main PRIVATE Clipper2::Clipper2Z) |