Skip to content
Snippets Groups Projects
Commit 110f2189 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix include for catch2 3.1 and above

See merge request !1515
parents f6a15627 84e1e813
No related branches found
No related tags found
1 merge request!1515Fix include for catch2 3.1 and above
Pipeline #6445201 passed
......@@ -14,7 +14,11 @@
# include <catch2/catch.hpp>
#else
// Catch2 v3
# include <catch2/catch_matchers_floating_point.hpp>
# if __has_include( <catch2/matchers/catch_matchers_floating_point.hpp>)
# include <catch2/matchers/catch_matchers_floating_point.hpp>
# else
# include <catch2/catch_matchers_floating_point.hpp>
# endif
# include <catch2/catch_template_test_macros.hpp>
# include <catch2/catch_test_macros.hpp>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment