Ogre::StringVector Sample_ShaderSystem::getRequiredPlugins()
{
StringVector names;
if (!GpuProgramManager::getSingleton().isSyntaxSupported("glsles"))
names.push_back("Cg Program Manager");
return names;
}
As you can see the ShaderSystem sample always require the CG plugin, except on ios build with glsles support, but i do not build the CG plugin at all on OSX. So maybe a cMake var is needed (when its not already there) which tells us if the CG program manager is builded at all. So that we guard this thing we remove the dep.