Adding cmake files for dependencies.
Updated cmake configuration.