Skip to content

CPM does not progress with git 2.50.0.windows.1 #668

@Laguna1989

Description

@Laguna1989

I have the following code in my CMakeLists.txt

file(
        DOWNLOAD
        https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.40.5/CPM.cmake
        ${CMAKE_BINARY_DIR}/cmake/CPM.cmake
        EXPECTED_HASH SHA256=c46b876ae3b9f994b4f05a4c15553e0485636862064f1fcc9d8b4f832086bc5d
)
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake)

message(STATUS "Fetching catch2")
CPMAddPackage(
		NAME catch2
		GITHUB_REPOSITORY catchorg/Catch2
		GIT_TAG v3.8.1
)

After upgrading to git 2.50.0.windows.1, the process of fetching externals hangs, with the last line being

-- CPM: Adding package catch2@3.8.1 (v3.8.1)

Downgrading to git 2.49.0.windows.1 solves the issue.

Using the usual git commands in a non-CPM context works as expected without any issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions