vittorioromeo / scelta

(experimental) Syntactic sugar for variant and optional types.
https://vittorioromeo.info
MIT License
157 stars 11 forks source link

Add a target alias for the Scelta headers target. #16

Closed no-more-secrets closed 5 years ago

no-more-secrets commented 5 years ago

This is the recommended practice in "modern CMake" style. It will allow a parent project to depend on the Scelta headers by adding the scelta::headers target into the list of target_link_libraries.

Tested with CMake version 3.13.1.

vittorioromeo commented 5 years ago

Thanks for the PR. I'll give this a test later today and merge, as the CI is broken at the moment.