Closed spjewkes closed 3 months ago
Added FetchContent method for Catch2 (taken from their website). This works for both the Mac and raspberry PI and builds catch2 from github. I've included an option to be able to switch to the previous method (using a downloaded library) just in case.
The code I've written for catch2 requires version 3 which appears to not be available for the Raspberry Pi version. I don't know if there's a better way of doing this.
I'm sure I've seen it so that the CMake can install and build the required library as part of building. This would be far better.