Skip to content
Snippets Groups Projects
Commit 84e1e813 authored by jmcarcell's avatar jmcarcell
Browse files

Fix include for catch2 3.1 and above

parent e3adce27
No related branches found
No related tags found
1 merge request!1515Fix include for catch2 3.1 and above
......@@ -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