Unify CMakeLists.txt with other repositories.