smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

cmake AUTHOR_WARNING if linux distribution doesn't match #220

Closed smanders closed 6 years ago

smanders commented 6 years ago

there have been issues when a developer on a given linux distribution uses an externpro built on a different distribution (or a different version - for example Ubuntu 16.04 vs 18.04)

record lsb_release -d in the XP_INFOFILE (.txt file at the root of the externpro installation) and then add some cmake to the find script to output a message(AUTHOR_WARNING if the distributions don't match

smanders commented 6 years ago

completed with commits to dev branch referenced above

smanders commented 6 years ago

just a note about a thought that I had related to this issue... (future enhancement)

smanders commented 5 years ago

this warning will serve as a reminder that building externpro and using externpro on two different distributions is unsupported - and the issue in https://github.com/smanders/externpro/issues/210 would have been easier to spot