[CMakeLists.txt] supress cmake warnings for CMP0026 and CMP0046