-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate and install a cmake configuration file, which can be (#447)
* Generate and install a cmake configuration file, which can be automatically picked up by downstream cmake projects. Downstream projects can link to Clipper2 or Clipper2Z by adding 'Clipper2::Clipper2' or 'Clipper2::Clipper2Z' as target dependency, and don't need to implement a FindPackage module. * Fix package config for Clipper2Z * Be a little less lenient when version-checking the configuration file.
- Loading branch information
Showing
2 changed files
with
66 additions
and
12 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,6 @@ | ||
@PACKAGE_INIT@ | ||
|
||
# Provide all our library targets to users. | ||
include("${CMAKE_CURRENT_LIST_DIR}/Clipper2Targets.cmake") | ||
|
||
check_required_components(Clipper2) |