-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The packaging isn't looking for gmpxx, and so fails when gmp is installed but gmpxx isn't. Rather than add a dependency on both gmpxx and gmp, this just replaces the small amount of gmpxx usage with gmp and drops the gmpxx linking. Also fixes cmake target names to be less error prone (using gmp::gmp rather than bare gmp or gmpxx ensures cmake sees a missing target rather than it failing later at build time), and to not do anything if a gmp::gmp target is already available (e.g. from a parent project).
- Loading branch information
Showing
3 changed files
with
21 additions
and
20 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
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