patches to the cmakelists and line extraction
added line in-house extraction