mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
bb9766f573
* [clipper2] Add new port * [clipper2] Add usage. Static-only for windows * [clipper2] Update hash
13 lines
416 B
Plaintext
13 lines
416 B
Plaintext
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)
|
|
|