Skip to content

Documentation on version selection #403

Open
@Waarbubble

Description

@Waarbubble

I am new to using hunter. As i try to get hunter to handle boost for me. The thing is hunter tries to download Boost 1.75.0 (which it btw. failes to with error 403 forbidden https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2), but my project needs boost 1.72. I have been looking through the documentation to see if i could figure out how to get it to download the older version in stead, but no luck.

Currently i am using:

hunter_add_package(Boost COMPONENTS filesystem serialization system thread program_options)
find_package(Boost 1.72.0  REQUIRED COMPONENTS filesystem serialization system thread program_options)

Can anyone help me figure out how to specify which version of a package hunter should get?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions