Update CPM.cmake and use cache in workflows
This should lead to a greatly reduced configure time, especially for projects with many CPM.cmake dependencies.
This should lead to a greatly reduced configure time, especially for projects with many CPM.cmake dependencies.