Removed warning in cmake configuration and generation process