Make tests optional
Make tests optional (but still default-enabled).
This moves the test-specific find_package
calls introduced in !18 (merged) from tests/CMakeLists.txt
to the top-level CMakeLists.txt
, in line with what has been preferred in an earlier MR. Opting to do this separately here instead of over there so disabling tests & their associated dependencies on just the former involves less patching.