cmake: make sure all calls to message() exhibit a type
Merge pull request #450 from andlaus/add_message_type

cmake: make sure all calls to message() exhibit a type