Changed LCMGL checkDependency to use cmake class path