Update CMakeLists.txt

added iOS/Mac
CMake fix for template projects
Merge branch 'v3' of github.com:cocos2d/cocos2d-x into v3
Merge branch 'v3' of https://github.com/iSevenDays/cocos2d-x into v3
revert default settings
small fix
small comment fix
Update CMakeLists.txt
Merge pull request #8715 from iSevenDays/v3

CMakes support for Mac Os X & iOS