cmake-conan icon indicating copy to clipboard operation
cmake-conan copied to clipboard

Use specific revision of a package

Open akalali opened this issue 3 years ago • 1 comments

How would I be able to use a specific revision of a package using the CMake wrapper and a call to conan_cmake_run? I'd like to use something like poco/1.10.1@_/_#2d09ae5dff111b2e2b941354520369a6 (at least that's how I do it when defining a conanfile.txt.

akalali avatar Jun 09 '21 14:06 akalali

Hi @akalali, Sorry for the late response, the correct syntax to require a specific revision of a package is for example: fmt/6.1.2@#fa5cb552b1f1d7a100fb1ab19b6156e0 (you have to omit the underscores when user and channel are empty) Hope this helps.

czoido avatar Jul 14 '21 05:07 czoido