eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.23k stars 169 forks source link

Change internal includes from "catch.hpp" to "catch2/catch.hpp" #154

Closed helmesjo closed 3 years ago

helmesjo commented 5 years ago

Catch2 v2.3.0 & newer has changed it's include path to the more conventional approach of having the library name as prefix for the includes: catch2/catch.hpp instead of just catch.hpp.

Please change CatchFakeIt.hpp:6 to #include "catch2/catch.hpp", or alternatively add a new IncludeCatch.hpp header that utilizes __has_include or similar to look for either.

Also, consider doing the same for FakeIt. :)