cmake: fix typo

fixes #1181
Merge pull request #1182 from timblechmann/topic/fixes

cmake: fix typo