Skip to content

Failed to checkout tag: 'origin/master' #16

@designerror

Description

@designerror

CMakeLists.txt

...
include(cmake/FindCPM.cmake)
CPM_AddModule("cpm-catch"
  GIT_REPOSITORY "https://github.com/designerror/cpm-catch")
...

cpm-catch/CMakeLists.txt

CPM_EnsureRepoIsCurrent(
  TARGET_DIR ${CATCH_DIR}
  GIT_REPOSITORY "https://github.com/philsquared/Catch.git"
  GIT_TAG origin/master
  USE_CACHING TRUE
  )

CMake-GUI Log

Git error for directory 'C:/Users/designerror/Documents/workspace/projects/webdav-client/build/x64/cpm-packages/modules/github_designerror_cpmcatch_origin_master/src/catch'
CMake Error at build/x64/cpm-packages/util/CPMGit.cmake:131 (message):
  Failed to checkout tag: 'origin/master'
Call Stack (most recent call first):
  build/x64/cpm-packages/util/CPMCommonSCM.cmake:6 (_cpm_update_git_repo)
  build/x64/cpm-packages/util/CPMCommonSCM.cmake:115 (_cpm_scm_update)
  build/x64/cpm-packages/util/CPMGit.cmake:159 (_cpm_ensure_scm_repo_is_current)
  build/x64/cpm-packages/CPM.cmake:906 (_cpm_ensure_git_repo_is_current)
  build/x64/cpm-packages/modules/github_designerror_cpmcatch_origin_master/src/CMakeLists.txt:41 (CPM_EnsureRepoIsCurrent)


Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions