Skip to content

Initialization fail when using quick start setup #20

@touraill-adobe

Description

@touraill-adobe

When using the method from the quick start documentation to run setup.cmake, i.e.

curl -O https://raw.githubusercontent.com/stlab/cpp-library/main/setup.cmake
cmake -P setup.cmake

the setup emits the following warning

CMake Warning at /tmp/setup.cmake:27 (message):
  No git tag found for cpp-library version.  Using placeholder 'X.Y.Z'.
  Check https://github.com/stlab/cpp-library/releases for the latest version.

then the initialization fails when trying to download cpp-library

Cloning into 'cpp-library-src'...
fatal: invalid reference: vX.Y.Z
CMake Error at cpp-library-subbuild/cpp-library-populate-prefix/tmp/cpp-library-populate-gitclone.cmake:61 (message):
  Failed to checkout tag: 'vX.Y.Z'

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions