reduce amount of cmake warnings