gitversion icon indicating copy to clipboard operation
gitversion copied to clipboard

Headers got mixed up with library include_headers

Open HGCapacitor opened this issue 6 years ago • 0 comments

The headers generated for the git version information got inserted into every cmake step. The only place where they are required is the BUILD_INTERFACE. This interferes with the idea of include_headers and private_headers for cmake produced libraries. By setting the BUILD_INTERFACE generator expression solves this issue.

HGCapacitor avatar Oct 23 '19 12:10 HGCapacitor