cmake: set missing compile flags to suggest related sources