fix typo in cmake file
Merge pull request #1015 from Jojo-Schmitz/warnings

fix typo in cmake file