fix warning CMP0045 with Cmake 3