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.
This commit is contained in:
Tiago 2017-11-14 08:44:56 -08:00 committed by Neil MacIntosh
parent 7e529a47c2
commit 1c95f9436e

View File

@ -15,8 +15,8 @@ if(GIT_FOUND)
ExternalProject_Add( ExternalProject_Add(
catch catch
PREFIX ${CMAKE_BINARY_DIR}/catch PREFIX ${CMAKE_BINARY_DIR}/catch
GIT_REPOSITORY https://github.com/philsquared/Catch.git GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v1.9.6 GIT_TAG v2.0.1
CMAKE_ARGS ${CATCH_CMAKE_ARGS} CMAKE_ARGS ${CATCH_CMAKE_ARGS}
LOG_DOWNLOAD 1 LOG_DOWNLOAD 1
UPDATE_DISCONNECTED 1 UPDATE_DISCONNECTED 1