cmake-conan
cmake-conan copied to clipboard
Use specific revision of a package
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
.
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.