diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2ec2089..4ebc3c3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,9 +2,7 @@ find_package(Threads) find_package(Catch2 QUIET) -if (Catch2_FOUND) - include(Catch) -else() +if (NOT Catch2_FOUND) include(FetchContent) FetchContent_Declare(