Search code examples
c++conanspdlog

How do you reference a specific recipe revision from conan-index?


I need to reference spdlog 1.7.0 revision 1eebff2f51d90cb700b63c6d2449ebcb, not the latest revision, but I cannot seem to do this. Specifying revision requires the user/channel#REV syntax, but recipes on conan index doesn't seem to have user/channel.

How do I reference a specific revision from conan-index?


Solution

  • You should be able to install specific revision using command:

    conan install spdlog/1.7.0@#1eebff2f51d90cb700b63c6d2449ebcb
    

    Notice the @ symbol after version.