cpm icon indicating copy to clipboard operation
cpm copied to clipboard

Failed to checkout tag: 'origin/master'

Open designerror opened this issue 9 years ago • 0 comments

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!

designerror avatar Jan 27 '16 19:01 designerror