Comment
Comment by tux1968
The recommended compatibility boilerplate for new projects is tedious. There must be a way to include this knowledge in cmake itself rather than requiring every "properly" configured project to get this right:
This is all before you even start thinking about your own project.