diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f9cad06..d83c504 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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()