forked from microsoft/GSL
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user