add the modified CMakelist for cocos