-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clipper2] Add usage. Static-only for windows
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "e4e17a0f6cbecf7ac4863b830eb47df1e10d9b83", | ||
"version": "1.1.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |