chore: Use find_package in CMake, fallback to FetchContent
Context
Fix #205 (closed)
Use Cmake find_package()
to find packages installed on system (namely fmt
and Catch2
), and fallback to using fetch_content()
if the packages are not found.
The main objective of this is to reduce build times.
Modified files
-
CMakeLists.txt
andUnitTests/CMaeLists.txt
Edited by Jerome Hue