mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
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:
parent
7e529a47c2
commit
1c95f9436e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user