Skip to content
Snippets Groups Projects

Rewrite FindGMP to provide imported targets

Merged Simon Praetorius requested to merge feature/find_gmp into master

Summary

This MR adds imported-targets to the FindGMP.cmake module, following modern cmake guidelines.

Details

Instead of exporting include directories and libraries as variables, the find modules exports an imported target that contains all the necessary information to include and link GMP. Two such imported targets are provided: GMP::gmp and GMP::gmpxx for the C and C++ library, respectively.

Acknowledgements

This find-module is developed together with @lukas.riedel

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading