diff --git a/CMakeLists.txt b/CMakeLists.txt index d237ad22..b39d39b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ if (TESTS) # catch requires C++ files when built out of its tree now, so we cannot 'just get the git repository' anymore # which sort of sucks, but MEH # this is easiest for now - file(download https://github.com/catchorg/Catch2/releases/download/v2.0.1/catch.hpp ${CMAKE_BINARY_DIR}/Catch/include/catch.hpp) + file(DOWNLOAD https://github.com/catchorg/Catch2/releases/download/v2.0.1/catch.hpp ${CMAKE_BINARY_DIR}/Catch/include/catch.hpp) file(GLOB TEST_SRC tests/test*.cpp) source_group(tests FILES ${TEST_SRC})