Remove add_dependencies for CPM. It does not need it.