Cmake: fix copy/paste error

closes #774

thanks @skywave