Skip to content

[core] Enhance Dependency Management in CMake with find_package

Required prerequisites

  • Make sure you've read the documentation. Your issue may be addressed there.
  • Search the issue tracker and discussions to verify that this hasn't already been reported. +1 or comment there if it has.

What commit version of aidge do you use

  • aidge_core:dev

Problem description

To improve flexibility and build efficiency, dependencies in the project should first attempt to use system-installed versions via find_package. If unavailable, a fallback mechanism using FetchContent should be employed to fetch the required dependencies from their respective repositories.

It will also allow to get rid of such things : https://github.com/catchorg/Catch2/issues/2712

Edited by Jerome Hue