Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
designerror opened this issue Jan 27, 2016 · 0 comments
Open

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

designerror opened this issue Jan 27, 2016 · 0 comments

Comments

@designerror
Copy link

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant