fix cmake warning
Merge pull request #693 from elcerdo/fixCmakeWarning

fix cmake warning