cocos2d-x-cocos2d-2.1beta3-x-2.1.1 in ubuntu 12.04

It is compiling fine, but the tests not, i got some gl and pthread issues at linkage, I got fixed after to add “SHAREDLIBS += lGLlpthread” in
TestCpp/Makefile, why cocos2d-x don’t switch to cmake ?