ValeevGroup / SeQuant

SeQuant: Symbolic Algebra of Tensors over Operators and Scalars
GNU General Public License v3.0
17 stars 6 forks source link

find or fetch catch2, use slim headers #197

Closed evaleev closed 6 months ago

Krzmbrzl commented 6 months ago

@evaleev this breaks with the find-or-fetch policy. On my system I have Catch2 installed, but I don't have the catch_test_macros.hpp headers available. I only have the combined catch.hpp header.

See also https://github.com/catchorg/Catch2/issues/2153

So it seems that we either have to

EDIT: Actually, I think these headers are only part of Catch 2 v3. Thus, if we are using them, we have to explicitly require v3 or higher.