spjewkes / jrnz

A work-in-progress ZX Spectrum emulator
MIT License
1 stars 0 forks source link

Catch2 doesn't build on raspberry pi #46

Closed spjewkes closed 3 months ago

spjewkes commented 3 months ago

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.

spjewkes commented 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.