fix: update catch.hpp link to fix broken link due to Catch2 repository branches evolution (#108)

This commit is contained in:
Loïc Touraine 2021-02-03 16:54:22 +01:00 committed by GitHub
commit 9ab6ef877a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
# download catch
if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/catch.hpp)
file(DOWNLOAD https://raw.githubusercontent.com/catchorg/Catch2/master/single_include/catch2/catch.hpp
file(DOWNLOAD https://raw.githubusercontent.com/catchorg/Catch2/v2.x/single_include/catch2/catch.hpp
${CMAKE_CURRENT_BINARY_DIR}/catch.hpp)
endif()