Added CMake files to config and build the library.