Skip to content
Snippets Groups Projects
fetch_catch2.cmake 271 B
Newer Older
include(FetchContent)

set(FETCHCONTENT_QUIET FALSE)
FetchContent_Declare(
    catch2
    GIT_REPOSITORY https://github.com/catchorg/Catch2
    GIT_TAG        devel
    GIT_PROGRESS   TRUE
    OVERRIDE_FIND_PACKAGE
)

FetchContent_MakeAvailable(catch2)

#set(Catch2_DIR