Skip to content

chore: Use find_package in CMake, fallback to FetchContent

Jerome Hue requested to merge jeromeh/aidge_core:cmake-find-package into dev

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 and UnitTests/CMaeLists.txt
Edited by Jerome Hue

Merge request reports

Loading