Fixes cmakefile for mac
Merge pull request #7997 from ricardoquesada/fixes_cmakefile_for_mac

Fixes cmakefile for mac
Fixes Xcode 6 warnings
Merge pull request #7998 from ricardoquesada/xcode_6_compatible

Fixes Xcode 6 warnings
Project Name is Cocos2d-X not Cocos2dX
Merge pull request #7999 from ricardoquesada/cmake_project_name

Project Name is Cocos2d-X not Cocos2dX
Merge pull request #1 from cocos2d/v3

sync with upstream repo