diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 449164a67..3164f7f73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,7 +38,7 @@ if(BUILD_BLS_TESTS) FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG v2.13.7 + GIT_TAG v3.0.0-preview5 ) FetchContent_MakeAvailable(Catch2) add_executable(runtest test.cpp) diff --git a/src/test.cpp b/src/test.cpp index 933a6a3a3..4c9828ca9 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -13,8 +13,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#define CATCH_CONFIG_RUNNER -#include +#include +#include #include