move contents from CMakeLists in source to CMakeLists in root