From 1c95f9436eae69c9b9315911ef6aa210df7d1e31 Mon Sep 17 00:00:00 2001 From: Tiago Date: Tue, 14 Nov 2017 08:44:56 -0800 Subject: [PATCH] Updates catch to version 2.0 (#580) Catch 1 would capture exceptions by value and depending on your clang config could lead to errors/warnings. --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ea456c7..86ce5a4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -15,8 +15,8 @@ if(GIT_FOUND) ExternalProject_Add( catch PREFIX ${CMAKE_BINARY_DIR}/catch - GIT_REPOSITORY https://github.com/philsquared/Catch.git - GIT_TAG v1.9.6 + GIT_REPOSITORY https://github.com/catchorg/Catch2.git + GIT_TAG v2.0.1 CMAKE_ARGS ${CATCH_CMAKE_ARGS} LOG_DOWNLOAD 1 UPDATE_DISCONNECTED 1