if(TARGET finitediff::finitediff)
    return()
endif()

message(STATUS "Third-party: creating target 'finitediff::finitediff'")

include(FetchContent)
FetchContent_Declare(
    finite-diff
    GIT_REPOSITORY https://github.com/zfergus/finite-diff.git
    GIT_TAG 33b93fe6d7d339b3cb5fe57cf1d711dbfbc50447
    GIT_SHALLOW FALSE
)
FetchContent_MakeAvailable(finite-diff)
