Skip to content
Snippets Groups Projects

chore: Use find_package in CMake, fallback to FetchContent

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading