Updated CMakeLists.txt files for gsoc-partition branch.