+add CheckPlatform.cmake in cmake folder