[cmake] fix for CMP0045 warning
Merge pull request #176 from yuyichao/pull

[cmake] fix for CMP0045 warning